Mantis - Resin
Viewing Issue Advanced Details
2209 minor always 11-28-07 08:53 12-16-07 18:51
ferg  
ferg  
normal  
closed 3.1.4  
fixed  
none    
none 3.1.5  
0002209: JCA: for ActiveMQ
(rep by Serge Sozonoff)

As I understand a database configured in resin.conf with:

<database>
    <jndi-name>...</jndi-name>
     ...
</database>

is managed by the container. How can we achieve the same for either a Queue/Topic/Connectionfactory with ActiveMq?

Notes
(0002575)
ferg   
12-16-07 18:51   
The syntax looks like:

 <connector class="org.apache.activemq.ra.ActiveMQResourceAdapter">
    <init>
       <ServerUrl>vm://localhost</ServerUrl> [^]
    </init>

    <connection-factory class="javax.jms.QueueConnectionFactory"/>

    <bean class="javax.jms.Queue">
      <init PhysicalName="queue.test"/>
    </bean>
  </connector>