mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-06 10:09:01 +00:00
ARTEMIS-888 - default to false if header durable not set
https://issues.apache.org/jira/browse/ARTEMIS-888
This commit is contained in:
parent
574cf6f3d8
commit
63f723fe8d
@ -81,7 +81,7 @@ public abstract class InboundTransformer {
|
||||
jms.setBooleanProperty(JMS_AMQP_HEADER_DURABLE, true);
|
||||
jms.setJMSDeliveryMode(header.getDurable().booleanValue() ? DeliveryMode.PERSISTENT : DeliveryMode.NON_PERSISTENT);
|
||||
} else {
|
||||
jms.setJMSDeliveryMode(Message.DEFAULT_DELIVERY_MODE);
|
||||
jms.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT);
|
||||
}
|
||||
|
||||
if (header.getPriority() != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user