[infinispan-issues] [JBoss JIRA] Created: (ISPN-1346) Transactional listeners method order problem

Tomas Fecko (JIRA) jira-events at lists.jboss.org
Wed Aug 24 12:47:17 EDT 2011


Transactional listeners method order problem
--------------------------------------------

                 Key: ISPN-1346
                 URL: https://issues.jboss.org/browse/ISPN-1346
             Project: Infinispan
          Issue Type: Bug
          Components: Listeners
    Affects Versions: 5.0.0.FINAL
         Environment: fedora, windows
            Reporter: Tomas Fecko
            Assignee: Manik Surtani


I'm using listeners as from the @Listener javadoc examples. When I register listener on VM where the cache is and put items to it, the methods of my listener are called in this order:


@TransactionRegistered
startTransaction

@CacheEntryCreated
handleEvent

@CacheEntryCreated
handleEvent

@TransactionCompleted
endTransaction

 
which is as it should be, but when I register listener on second node, and put to cache in first node, methods on listener on second node are called in order:

handleEvent
handleEvent
startTransaction
endTransaction



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list