[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Correct XA behaviour on closing a connection

ovidiu.feodorov@jboss.com do-not-reply at jboss.com
Fri Dec 22 15:54:25 EST 2006


Tim wrote : Should the messaging resource manager, locally roll back (remove) the prepared state for that connection? Or it should it retain it, in the hope that the transaction manager will eventually call rollback or commit by obtaining an xaresource by recover() for instance? 

Second option (?)

After all, the work is already part of the global transaction state, irrespective of the fact that connection (session) is closed or not.

Tim wrote : I would be interested to know how JCA treats this. Does the JCA layer ever close connections that have XASessions that are still enlisted in a global tx, or does it never do this. 

Easy to find out. Model it ...

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

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



More information about the jboss-dev-forums mailing list