[jboss-dev-forums] [Design of JCA on JBoss] - Re: Resource adapter transaction timeout enforcement
adrian@jboss.org
do-not-reply at jboss.com
Wed Sep 19 07:41:10 EDT 2007
For a general XAResource you should do both.
There should be a real (local) timeout in the backend and frontend timeout to cover
network splits, etc.
My question is why are you using an XAResource for remoting?
What state do you have to persist during prepare?
Do you really need to vote in 2PC?
If you have no state and therefore don't need to recover or vote
then you should use a TransactionSynchronization instead.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086006#4086006
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086006
More information about the jboss-dev-forums
mailing list