ARTEMIS-888 - default to false if header durable not set

https://issues.apache.org/jira/browse/ARTEMIS-888
This commit is contained in:
Andy Taylor 2016-12-20 09:32:33 +00:00
parent 574cf6f3d8
commit 63f723fe8d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {