"clebert.suco...@jboss.com" wrote : 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");
  |   | 
  | 
  | 

That is NOT correct.

If you lookup java:/XAConnectionFactory you will NOT be using JCA.

There is a section on using JCA in the docs:

http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html_single/index.html#d0e5931



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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242607
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to