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

timfox do-not-reply at jboss.com
Thu Dec 21 05:40:57 EST 2006


If an XASession, created from an XAConnection does some work in a global transaction, the transaction gets prepared, then the connection gets explicitly closed (invoke of close()) before the transaction has been committed or rolled back by the transaction manager, what is the correct behaviour?

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?



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

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



More information about the jboss-dev-forums mailing list