"ataylor" wrote :
|
| 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.
The problem with that is how long do we keep the xid for? The xid list could grow without
bound, so we'd have to clear it down after a time, and then if it does get cleared
down and the tx mgr subsequently decides to commit/rollback on that branch we won't
have record of the xid and we'll have to return XAERR_NOTA anyway!
For now, let's return false from setTransactionTimeout, then just timeout tx ourselves
according to our own timeout, and return XAERR_NOTA, and double check with Jonathan this
is ok.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186580#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...