[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: XA resource and setting the timeout

ataylor do-not-reply at jboss.com
Tue Nov 4 03:59:14 EST 2008


anonymous wrote : But logically, that _does not_ imply, that if we return false from setTransactionTimeout it is ok to return XAERR_NOTA if a rollback/commit is attempted after we have heuristically timed out the branch.

If thats the case then we either don't time out at all and return false for setTimeout or we need to keep the tx associated with the Resource manager and return XA_RBTIMEOUT. Actually as long as we release the acks and messages this should be ok. If we want we could have some sort of reaper that removes any timeout sessions that are really old. 

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

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



More information about the jboss-dev-forums mailing list