Your "WMXQueueConnectionFactory" is a JCA managed connection factory, whereas 
XAConnectionFactory is a standard JMS connection factory.

You would use WMXQueueConnectionFactory is you wanted jms transactional 
operations to be enlisted in any global transactions in the app server, e.g. if 
you wanted to send a message in the same global transaction as calling an ejb 
for example, or if you wanted to use UserTransaction.

If you use the straightforward XAConnectionFactory you cannot use 
UserTransaction to demarcate JMS transaction boundaries, it will have no 
effect, so you will either have to use standard jms transactions 
(session.commit or rollback) or explicitly enlist in the global transaction by 
using the session's XAResource directlly.

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

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

Reply via email to