[jboss-user] [JBoss Messaging] - Re: JBM 1.4 and container transactions
ejb3workshop
do-not-reply at jboss.com
Mon Aug 3 10:33:47 EDT 2009
I am injecting my connection factory using
| @Resource(name = "jms/ConnectionFactory")
| protected ConnectionFactory m_factory;
|
and then in jboss.xml I am mapping it to the actual connection factory :
| <resource-ref>
| <res-ref-name>jms/ConnectionFactory</res-ref-name>
| <jndi-name>java:/JmsXA</jndi-name>
| </resource-ref>
|
You can of course also inject the JmsXA connection factory directly.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247619#4247619
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247619
More information about the jboss-user
mailing list