qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r583816 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java
Date Thu, 11 Oct 2007 13:13:31 GMT
Author: arnaudsimon
Date: Thu Oct 11 06:13:30 2007
New Revision: 583816

URL: http://svn.apache.org/viewvc?rev=583816&view=rev
Log:
Added check if message selector is not empty string

Modified:
    incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java

Modified: incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java?rev=583816&r1=583815&r2=583816&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/BasicMessageConsumer_0_10.java
Thu Oct 11 06:13:30 2007
@@ -78,7 +78,7 @@
         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
             {



Mime
View raw message