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…
Reference in New Issue