qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgodf...@apache.org
Subject svn commit: r1772587 - /qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Message_1_0.java
Date Mon, 05 Dec 2016 00:25:58 GMT
Author: rgodfrey
Date: Mon Dec  5 00:25:58 2016
New Revision: 1772587

URL: http://svn.apache.org/viewvc?rev=1772587&view=rev
Log:
QPID-7568 : Address review comments by [~k-wall]

Modified:
    qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Message_1_0.java

Modified: qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Message_1_0.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Message_1_0.java?rev=1772587&r1=1772586&r2=1772587&view=diff
==============================================================================
--- qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Message_1_0.java
(original)
+++ qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/Message_1_0.java
Mon Dec  5 00:25:58 2016
@@ -102,7 +102,7 @@ public class Message_1_0 extends Abstrac
     @Override
     public boolean isResourceAcceptable(final TransactionLogResource resource)
     {
-        return getMessageHeader().getNotValidBefore() != 0L && !resourceSupportsDeliveryDelay(resource);
+        return getMessageHeader().getNotValidBefore() == 0L || resourceSupportsDeliveryDelay(resource);
     }
 
     private boolean resourceSupportsDeliveryDelay(final TransactionLogResource resource)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message