diff options
author | Arnaud Simon <arnaudsimon@apache.org> | 2007-10-29 18:07:26 +0000 |
---|---|---|
committer | Arnaud Simon <arnaudsimon@apache.org> | 2007-10-29 18:07:26 +0000 |
commit | d660d4a8ef91e34472a2d78984d7e34939a081dd (patch) | |
tree | 4a800bedf5586e6fc415b0098837b302d3f7157c | |
parent | bcf9c194c3d777fff7f776af25379d8a44f012aa (diff) | |
download | qpid-python-d660d4a8ef91e34472a2d78984d7e34939a081dd.tar.gz |
Changed for not acquiring messages if this is a browser
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@589777 13f79535-47bb-0310-9956-ffa450edef68
-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()) { |