[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: XA resource and setting the timeout
asimon
do-not-reply at jboss.com
Mon Nov 3 08:17:01 EST 2008
>From the XA Open Group point of view I agree with what Jonathan said. However form the Javax XA API point of view I would say that we have two choices:
1) rollback the branch and ignore it (i.e. return XAERR_NOTA) or don't roll it back at all. In this case setTransactionTimeout MUST return false to indicate that the timeout is not handle as expected by the resource
2) setTransactionTimeout returns true and this implies that the branch is rolled back and XA_RBTIMEOUT is returned. I.e. we must remember the tx branch ID.
Arnaud
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186384#4186384
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186384
More information about the jboss-dev-forums
mailing list