summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2007-10-11 13:13:30 +0000
committerArnaud Simon <arnaudsimon@apache.org>2007-10-11 13:13:30 +0000
commita23f05ddb503e587473519fa3f6491a93798a535 (patch)
treed4ca102e0f1d07a688aecbe74d0ccc678d10287b
parent617a2952f59a641e26b9b74f6ad18611af8ff96e (diff)
downloadqpid-python-a23f05ddb503e587473519fa3f6491a93798a535.tar.gz
Added check if message selector is not empty string
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@583816 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java2
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 5efa03af54..dbe01a96c6 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
@@ -78,7 +78,7 @@ public class BasicMessageConsumer_0_10 extends BasicMessageConsumer<Struct[], By
super(channelId, connection, destination, messageSelector, noLocal, messageFactory, session, protocolHandler,
rawSelectorFieldTable, prefetchHigh, prefetchLow, exclusive, acknowledgeMode, noConsume, autoClose);
_0_10session = (AMQSession_0_10) session;
- if (messageSelector != null)
+ if (messageSelector != null && messageSelector != "")
{
try
{