summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2007-10-29 18:07:26 +0000
committerArnaud Simon <arnaudsimon@apache.org>2007-10-29 18:07:26 +0000
commit4ecbb9b68a4ac3e6ed4de40ea3a076dd8b6357e4 (patch)
tree2352721f4c36d3b3ba12645789b098ebba390160
parentace97e98126d2bc7f82ddaec34394143561b0ec8 (diff)
downloadqpid-python-4ecbb9b68a4ac3e6ed4de40ea3a076dd8b6357e4.tar.gz
Changed for not acquiring messages if this is a browser
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@589777 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java b/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java
index 8958056a7a..caa7d1cacf 100644
--- a/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java
+++ b/qpid/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())
{