Clebert Suconic created ARTEMIS-4725:
----------------------------------------

             Summary: Mirror may send wrong headers
                 Key: ARTEMIS-4725
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4725
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Clebert Suconic
            Assignee: Clebert Suconic


This is not specifically an issue in Mirroring or Broker Connection, but it 
manifested as part of the broker connection codebase.

When a delivery for the first time after a reload happens, the delivery 
annotation may be written before the header, breaking the specification. 

Later on delivery the message, createDelieryCopy could get confused with the 
positions:

https://github.com/apache/activemq-artemis/blob/50fae08b09a76e200ef107d06cc867231f644ccd/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java#L829



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to