You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rg...@apache.org on 2016/12/05 00:25:58 UTC

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

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