adrian, pardon my ignorance, but how exactly do you setup a JmsXA connection factory?
My ejb-jar.xml looks like this:
<message-driven>
| <ejb-name>TREMessageEJB</ejb-name>
| <ejb-class>helloworld.messagebeanserver.TREMessageEJB</ejb-class>
| <transaction-type>Container</transaction-type>
| <message-selector></message-selector>
| <message-driven-destination>
| <destination-type>javax.jms.Queue</destination-type>
| </message-driven-destination>
| <security-identity>
| <run-as><role-name>everyone</role-name></run-as>
| </security-identity>
| <resource-ref>
| <res-ref-name>jms/QueueFactory</res-ref-name>
| <res-type>javax.jms.QueueConnectionFactory</res-type>
| <res-auth>Container</res-auth>
| </resource-ref>
| </message-driven>
My jboss.xml looks like this:
<message-driven>
| <ejb-name>TREMessageEJB</ejb-name>
| <configuration-bean>Standard Message Driven Bean</configuration-bean>
| <destination-jndi-name>queue/treQueue</destination-jndi-name>
| <resource-ref>
| <res-ref-name>jms/QueueFactory</res-ref-name>
| <jndi-name>java:/JmsXA</jndi-name>
| </resource-ref>
| </message-driven>
And my jbossmq-destinations-service.xml looks like this:
<mbean code="org.jboss.mq.server.jmx.Queue"
| name="jboss.mq.destination:service=Queue,name=treQueue">
| <attribute name="JNDIName">queue/treQueue</attribute>
| <depends
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
| </mbean>
Thanks!
<a
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824959#3824959">View
the original post</a>
<a
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824959>Reply
to the post</a>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user