[ 
https://issues.apache.org/jira/browse/ARTEMIS-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell closed ARTEMIS-1878.
-----------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed

Given the seeming duplication with ARTEMIS-2458 and ARTEMIS-2161 which were 
confirmed fixed, I'm just marking this as also resolved in 2.10.0. Can reopen 
if needed.

> AMQP receive after transaction rollback returns messages out of order
> ---------------------------------------------------------------------
>
>                 Key: ARTEMIS-1878
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1878
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>         Environment: F27, openjdk version "1.8.0_171", 2.6.0-SNAPSHOT 
> (a6c48a37c7)
>            Reporter: Roddie Kieley
>            Priority: Major
>             Fix For: 2.10.0
>
>
> After locally updating the examples/features/standard/transactional example 
> to utilize AMQP via Qpid JMS rather than the CORE Artemis JMS we see the 
> following:
> {code:java}
> Sent message: This is a text message1
> Sent message: This is a text message2
> Message received before send commit: null
> Message received after send commit: This is a text message1
> Message1 received after receive rollback: This is a text message2
> Message2 received after receive rollback: This is a text message1
> Message3 received after receive rollback: null
> Message received after receive commit: null{code}
> Where we note that first message received after rollback has the test 
> "message2" and the second message has the text "message1", i.e. the order is 
> reversed.
>  
> Updating the 
> JMSTransactionTest::{color:#333333}testRollbackSomeThenReceiveAndCommit to 
> print out the two messages  before rollback as well as the five messages 
> after rollback along with their corresponding MESSAGE_NUMBER properties we 
> see:{color}
> {code:java}
> [main] 14:32:06,961 INFO  [org.apache.activemq.artemis.core.server] 
> AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.6.0-SNAPSHOT 
> [localhost, nodeID=da8a1fc4-5de1-11e8-a8c7-507b9d07eb98]
> message: 1 is 1
> message: 2 is 2
> message: 1 is 5
> message: 2 is 4
> message: 3 is 3
> message: 4 is 1
> message: 5 is 2
> {code}
> Where we can clearly see that the order when receiving after rollback is not 
> correct.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to