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

Transactional listeners method order problem

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: