Mantis - Resin
Viewing Issue Advanced Details
2619 minor always 04-22-08 10:44 04-22-08 13:40
ferg  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.1.6  
0002619: BlockingQueue for 3rd-party jms
(rep by wesley)

2. I felt strange that I have to create a new JmsConnection and JmsSession when producing a message, but need not to do it when consuming it. I think there should be a easy way to producing a message using resin IoC, eliminating the JmsConnection/JmsSession stuff.


Notes
(0003004)
ferg   
04-22-08 13:40   
jms/002{0,1,2,3}

The syntax is:

  <bean name="myQueue" class="com.caucho.jms.queue.JmsBlockingQueue">
    <init>
       <factory>${jmsConnectionFactory}</factory>
       <destination>${jmsQueue}</destination>
    </init>
  </bean>

Docs are at http://caucho.com/resin/doc/resin-messaging.xtp [^]