[jboss-dev-forums] [Design of JCA on JBoss] - Re: JBossTS/JCA Recovery work for JBoss 4.2

timfox do-not-reply at jboss.com
Wed Jan 24 13:51:57 EST 2007


"weston.price at jboss.com" wrote : 
  | For JCA inflow, it has to be through JCA as I am the one initiating the transaction calling XASession.getXAResource() so I am not sure how your recovery stuff would come into play. Also, for outbound connections (ie JDBC) this has to be done to properly register recoverables with JBossTS. 

Why does it matter who initiated the tx?

For recovery with JBoss TS, as long as you have provided an XAResourceRecovery instance, the recovery manager will call upon that to get an XAresource then call recover() on that to get the list of xids from the resource manager. (You can also make the XAresource serializable but that is another story)

The recovery manager will then call commit or rollback on them as it deems appropriate.

I don't see what relevance it has who started the transaction.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005948#4005948

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005948



More information about the jboss-dev-forums mailing list