[jboss-dev-forums] [JBoss Transactions Development] - Re: Remote Txn Inflow: Synchronizations
Mark Little
do-not-reply at jboss.com
Wed Oct 5 10:12:34 EDT 2011
Mark Little [http://community.jboss.org/people/marklittle] created the discussion
"Re: Remote Txn Inflow: Synchronizations"
To view the discussion, visit: http://community.jboss.org/message/630240#630240
--------------------------------------------------------------
It is worth noting that afterCompletion is a best effort invocation too. Of course you're supposed to try to call them for all registered synchronizations, but if they aren't delivered (or are ignored), they'll have no impact on the transaction outcome anyway. Synchronizations are required to be implemented to cope with afterCompletion not being delivered anyway.
> David Lloyd wrote:
>
> Are we sure that we need afterCompletion synchronization processing to be executed in terms of the root controller? The only time I can imagine it mattering is if it is controlling some resource that is outside of the JVM, outside of the transaction, and yet visible to other participants. If synchronizations are used for the purpose of discovering the overall outcome of the transaction, then executing on the local node achieves that purpose. Same thing if the purpose is to clean up some per-VM resource. And I think these two use cases are by far the predominant ones.
>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/630240#630240]
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/20111005/043a0550/attachment.html
More information about the jboss-dev-forums
mailing list