"clebert.suconic(a)jboss.com" wrote : "timfox" wrote :
| | This is related to
https://jira.jboss.org/jira/browse/JBMESSAGING-1282
|
| What I thought that should be happening, is TransactionImpl aways storing the prepare
on disk. That way an empty transaction would be recovered instead of "killing"
the whole branch on the TM.
|
|
My understanding, is that if the transaction branch is empty, then prepare should return
return XAResource.XA_RDONLY
(See ServerSessionImpl.XAPrepare)
And then the transaction manager knows not to ever call commit or rollback for that
branch.
I however recommend clarify these finer points of XA with a member of the transactions
team.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175039#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...