[jboss-dev-forums] [JBoss Transactions Development] - Re: Remote Txn Inflow: Synchronizations
Tom Jenkinson
do-not-reply at jboss.com
Fri Sep 30 07:04:37 EDT 2011
Tom Jenkinson [http://community.jboss.org/people/tomjenkinson] created the discussion
"Re: Remote Txn Inflow: Synchronizations"
To view the discussion, visit: http://community.jboss.org/message/629533#629533
--------------------------------------------------------------
> David Lloyd wrote:
>
> > Tom Jenkinson wrote:
> >
> > Hi David,
> >
> > It looks like we would need at least two additional functions to XATerminator, in the diagram referred to as "XA Terminator enhancement":
> > a. A before completion method
> > b. An after completion method
> >
> Just a quick note here that we can use other classes than XATerminator; there is no need for this particular code (i.e. the EJB server transaction inflow code) to be loosely coupled from the transaction manager, so we should implement the most direct and most correct solution, which probably means just bypassing XATerminator and using the APIs consumed by it. In fact we are already planning on doing so because EJB invocation isn't done with "Work" which is presently the way that tasks are executed via JBossXATerminator instances.
>
Sure, of course.
> David Lloyd wrote:
>
> Yeah that should be fine, just let me know what the method hooks will be. I'm also fine with using SubordinationManager directly, or providing an alternative extended version of com.arjuna.ats.internal.jta.transaction.arjunacore.jca.XATerminatorImple, or whatever is easiest for you guys. In particular, at a protocol level it does us no good to have all the execptions mapped to XAException because we'll just have to decode it again and send it over the wire; it just costs an extra, useless transaction wrapping.
>
I don't think we should expose SubordinationManager directly as we don't necessarily want to make that a public API. As such we should probably expose a new API specific to the job, I have posted this on the other thread so people watching that thread only will get the update.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/629533#629533]
Start a new discussion in JBoss Transactions Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2041]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110930/cafde6db/attachment.html
More information about the jboss-dev-forums
mailing list