Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1346

Transactional listeners method order problem

XMLWordPrintable

      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

            mircea.markus Mircea Markus (Inactive)
            feci_jira Tomas Fecko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: