[jboss-user] [JBoss Messaging] - Re: JBM 1.4 and container transactions
do-not-reply at jboss.com
Mon Aug 3 10:51:42 EDT 2009
"gaohoward" wrote : JBM doesn't use XA datasource. You just need to configure your MDB to be transactional, that's ok.
You can do that?
"ejb3workshop" wrote : 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.
That might be my problem. Initially I had my emitter as an MBean everyone could use but over time it was used as a simple lib and thus the ConnectionFactory had to be gained by lookup.
I'll try it again as an MBean.
Thanks for the Help!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247628#4247628
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247628
More information about the jboss-user