From 35244d13859c33821977ae7e407439c7e00add45 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 21 Sep 2006 18:26:31 +0000 Subject: Implemented topic pattern matching for the TopicExchange. Corrected default bindings to use the exchange named "" rather than "amqp.direct". Added python and unit tests for all of the above. Minor improvements to testlib.py, also some tests for testlib itself. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@448624 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/broker/src/DirectExchange.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/broker/src/DirectExchange.cpp') diff --git a/qpid/cpp/broker/src/DirectExchange.cpp b/qpid/cpp/broker/src/DirectExchange.cpp index 70f7ee838f..ca29225bee 100644 --- a/qpid/cpp/broker/src/DirectExchange.cpp +++ b/qpid/cpp/broker/src/DirectExchange.cpp @@ -22,7 +22,7 @@ using namespace qpid::broker; using namespace qpid::framing; -DirectExchange::DirectExchange(const string& _name) : name(_name) { +DirectExchange::DirectExchange(const string& name) : Exchange(name) { } @@ -59,7 +59,7 @@ void DirectExchange::route(Message::shared_ptr& msg, const string& routingKey, F (*i)->deliver(msg); } if(!count){ - std::cout << "WARNING: DirectExchange " << name << " could not route message with key " << routingKey << std::endl; + std::cout << "WARNING: DirectExchange " << getName() << " could not route message with key " << routingKey << std::endl; } lock.release(); } -- cgit v1.2.1