[infinispan-dev] discussion about impact of using TransactionSynchronizationRegistry in AS7...

Sanne Grinovero sanne.grinovero at gmail.com
Fri Jun 3 10:19:05 EDT 2011


2011/6/2 Mircea Markus <mircea.markus at jboss.com>:
>>> "
>>> So, the rule for activity in beforeCompletion is:
>>>
>>>  - a Sync registered via registerSynchronization may call either registerSynchronization or registerInterposedSynchronization.
>>>
>>>  - a Sync registered via registerInterposedSynchronization may call only registerInterposedSynchronization.
>>> "
>> Thanks for the clarification. The Syncs we register do not do any subsequent Sync registration in beforeCompletion so should be on the safe side.
> Actually that's the case for infinispan-core.
> Sanne might answer better to this question: is TransactionalEventTransactionContext.registerSynchronization ever going to be called from within another Synchronization.beforeCommit?

No

Cheers
Sanne



More information about the infinispan-dev mailing list