Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3120

Transaction rollback ordering is broken with AMQP

XMLWordPrintable

    • +
    • ARTEMIS-2458
    • Verified in a release
    • Hide

      Attached is the test case class,
      Copy the below into the following location of artemis source

      \integration-tests\src\test\java\org\apache\activemq\artemis\tests\integration\amqp

      Show
      Attached is the test case class, Copy the below into the following location of artemis source \integration-tests\src\test\java\org\apache\activemq\artemis\tests\integration\amqp

      When rolling back the message order is corrupted.

      The issue is able to easily recreate using QPID's own Test suite, but pointing it at Artemis (AMQ7) instead of ActivMQ 5
      test in question that passes when pointing to ActiveMQ5, but fails and re-creates the ordering issue seen.

      org.apache.qpid.jms.transactions.JmsTransactedConsumerTest.testReceiveSomeThenRollback
      
      activemq5: passes
      artemis: fails - java.lang.AssertionError: Unexpected order of messages: [5, 4, 3, 1, 2]
      

        1. JmsTransactedConsumerTest.java
          4 kB
          Domenico Francesco Bruscino

              csuconic@redhat.com Clebert Suconic
              dbruscin Domenico Francesco Bruscino
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: