[jboss-user] [JBoss Messaging] - Re:

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Jul 7 15:31:13 EDT 2009

Take a look at jms-ds.xml

The JNDI is java:/XAConnectionFactory.

(You need to use the local JNDI for that... just do new InitialContext(). As you may known java:/ means local VM).

you can just do:

InitialContext ctx = new IntialContext();
  | ConnectionFactory cf = (ConnectionFactory)ctx.lookup("java:/XAConnectionFactory");

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242288#4242288

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242288

More information about the jboss-user mailing list