activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: ARTEMIS-888 - default to false if header durable not set
Date Tue, 20 Dec 2016 14:07:24 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 574cf6f3d -> 6b1efac05


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

https://issues.apache.org/jira/browse/ARTEMIS-888


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/63f723fe
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/63f723fe
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/63f723fe

Branch: refs/heads/master
Commit: 63f723fe8d341be47fc03c1f16abd62f7e30ec91
Parents: 574cf6f
Author: Andy Taylor <andy.tayls67@gmail.com>
Authored: Tue Dec 20 09:32:33 2016 +0000
Committer: Andy Taylor <andy.tayls67@gmail.com>
Committed: Tue Dec 20 09:32:33 2016 +0000

----------------------------------------------------------------------
 .../protocol/amqp/converter/message/InboundTransformer.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/63f723fe/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/message/InboundTransformer.java
----------------------------------------------------------------------
diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/message/InboundTransformer.java
b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/message/InboundTransformer.java
index 9c40cd8..1316ab7 100644
--- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/message/InboundTransformer.java
+++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/message/InboundTransformer.java
@@ -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) {


Mime
View raw message