"bviveiros" wrote : Thanks Tim.  Although I'm not sure that I understand the 
following:
  | 
  | anonymous wrote : messaging doesn't require the database to support XA for 
it's purposes.
  | 
  | I have a servlet that peforms some database inserts then posts a message to 
a queue, therefore I need the entire process to be wrapped in one transaction.  
Is there a way to do this without using an XA Datasource for messaging?

The type of datasource that messaging uses is just an implementation detail and 
shouldn't concern the user.

Messaging itself provides an XAResource as Ovidiu has mentioned that can be 
used to enlist the messaging session in a global JTA transaction. (See JTA spec 
for more details).

You can use this directly, or use the JCA adaptor:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJMSRA

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to