2 Replies Latest reply on Aug 24, 2011 12:47 PM by feci

    Transaction Listener problem

    feci

      Hi,

       

      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

       

      which is obviously wrong, isn't it?