[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:27:04 EST 2008
anonymous wrote : If we return false to setTransactionTimeout(), why is it ok to time out transactions ourselves, and return XA_ERNOTA?
The way I read Arnaud's comment is that if we return true from setTransactionTimeout then the Transaction Manager will expect us to timeout with a XA_RBTIMEOUT after the time set. Since we we will be returning XA_ERNOTA we need to return false.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186572#4186572
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186572
More information about the jboss-dev-forums
mailing list