Clebert Suconic created ARTEMIS-2559:
----------------------------------------

             Summary: Connection failure should rollback XA transactions if != 
Prepared
                 Key: ARTEMIS-2559
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2559
             Project: ActiveMQ Artemis
          Issue Type: Improvement
    Affects Versions: 2.10.1
            Reporter: Clebert Suconic
            Assignee: Clebert Suconic
             Fix For: 2.11.0


Say that your connection failed, and you have a pending XA TX.

On that state, during a failed connection you should rollback the TX and 
redeliver messages.

As a reference to the affected code:

It should check if failing, the pending TX should be rolled back:

https://github.com/apache/activemq-artemis/blob/2bf2dba8d3eb346ad4f101ca2b2f1440f72cf3e2/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java#L387-L396



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

Reply via email to