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

Mircea Markus mircea.markus at jboss.com
Thu Jun 2 11:33:36 EDT 2011


>> "
>> 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?




More information about the infinispan-dev mailing list