[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: XA resource and setting the timeout
ataylor
do-not-reply at jboss.com
Wed Nov 5 06:13:33 EST 2008
anonymous wrote : Except of course that it should time out only new, unprepared tx created after the restart, not the prepared ones. Which come to think of it is true even in the non-restart case - you need to test that a prepared tx will not be timed out, or at least be concious of the issues that arise if it is.
Ok, so what issues will arise if we time out a prepared tx? If we don't time it out, aren't we in the same boat, i.e. transactions hanging around forever that would never be committed.
anonymous wrote : BTW, do you include inflight but unprepared tx in the list returned by a recover call on the XAResource?
No, we currently only return tx's in the prepared state.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186972#4186972
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186972
More information about the jboss-dev-forums
mailing list