diff options
-rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java b/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java index 8958056a7a..caa7d1cacf 100644 --- a/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java +++ b/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java @@ -308,7 +308,7 @@ public class BasicMessageConsumer_0_10 extends BasicMessageConsumer<Struct[], By } // now we need to acquire this message if needed // this is the case of queue with a message selector set - if (!_preAcquire && messageOk) + if (!_preAcquire && messageOk && ! isNoConsume()) { if (_logger.isDebugEnabled()) { |