activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chily <>
Subject Jboss Rar and JCA Container Spring
Date Wed, 15 Apr 2009 15:35:57 GMT

We have successfully deployed ActiveMQ 3.1 as a .rar in JBoss 4.0.2. We
deploy our Spring war in JBoss and would like to add message-driven Pojos to
our app.
What we would like to do is use the ActiveMQ resource adaptor that is
running in Jboss' JCA container. By this i mean to not pass the serverUrl to
the resource adpater in the spring configuration file.
This works fine (the ConnectionFactory is used by a lot of jmsTemplates)
<bean id=""
        <property name="jndiName" value="activemq/ConnectionFactory2" />
<bean id="jms.queue.request"
        <property name="jndiName" value="queue/outbound" />
 <bean id="jms.queue.response"
        <property name="jndiName" value="queue/inbound" />

But when we try to create the jca container, we don't klnow how to locate
the resource adapter from the jboss container.

                <jms:listener destination="TEST"
ref="message.example.listener" />

any help to use the jboss resource adapter  (lokup in jndi or somthing live

GPI Argentina
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message