qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1620630 - /qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Filter.cpp
Date Tue, 26 Aug 2014 15:18:58 GMT
Author: gsim
Date: Tue Aug 26 15:18:58 2014
New Revision: 1620630

URL: http://svn.apache.org/r1620630
Log:
QPID-6045: adjust the reported filter to make clear that wildcard subject filtering is not
supported with xml exchange

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Filter.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Filter.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Filter.cpp?rev=1620630&r1=1620629&r2=1620630&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Filter.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/amqp/Filter.cpp Tue Aug 26 15:18:58 2014
@@ -262,7 +262,9 @@ void Filter::bind(boost::shared_ptr<Exch
         active.push_back(&headersFilter);
     } else if (exchange->getType() == XML) {
         setDefaultXQueryFilter();
-        setDefaultSubjectFilter();
+        if (!setDefaultSubjectFilter() && adjustDirectFilter()) {
+            QPID_LOG(info, "Using legacy topic filter as a direct matching filter for " <<
exchange->getName());
+        }
         bindingArgs.setString(XQUERY, xqueryFilter.value);
         active.push_back(&subjectFilter);
         active.push_back(&xqueryFilter);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message