-
Bug
-
Resolution: Duplicate
-
Major
-
AMQ 7.0.2.GA
-
None
AMQPMessage#toCore() calls AmqpCoreConverter#populateMessage to set durability and other properties. I believe the problem is that AmqpCoreConverter#populateMessage reads these things from proton message, which was obtained by calling AMQPMessage#getProtonMessage().
public MessageImpl getProtonMessage() { if (protonMessage == null) { protonMessage = (MessageImpl) Message.Factory.create(); if (data != null) { data.readerIndex(0); protonMessage.decode(data.nioBuffer()); this._header = protonMessage.getHeader(); ----> protonMessage.setHeader(null); } } return protonMessage; }
Since the header in the proton message is on purpose blanked, populateMessage cannot see the durability setting and defaults it to false.
- duplicates
-
ENTMQBR-799 [AMQ7, JMSDeliveryMode, Priority]JMSDeliveryMode/Priority is lost when AMQP Producer and CORE Consumer
- Closed
- is related to
-
ENTMQBR-771 Persistent messages sent with QPID AMQP JMS client are not reflected as durable by the broker
- Closed
- relates to
-
ENTMQBR-476 Broker change message header durable property from false to true
- Closed
-
ARTEMIS-1413 Loading...