diff options
author | Jonathan Robie <jonathan@apache.org> | 2010-10-20 22:15:24 +0000 |
---|---|---|
committer | Jonathan Robie <jonathan@apache.org> | 2010-10-20 22:15:24 +0000 |
commit | fdebc18142c0479cd4e603affac141e7bdd5b50b (patch) | |
tree | e24d10c9ced332377c466d21b7ab08ab2590b9a1 /cpp/src/qpid/broker/TopicExchange.cpp | |
parent | 9cec65bfe71c9a6a1ddb4822bd9e782c20c9f96d (diff) | |
download | qpid-python-fdebc18142c0479cd4e603affac141e7bdd5b50b.tar.gz |
Adds support for federation in the XML exchange.
Resolves QPID-2348 for the XML Exchange. Also made some changes to the file structure for fedop constants.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1025780 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/TopicExchange.cpp')
-rw-r--r-- | cpp/src/qpid/broker/TopicExchange.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/cpp/src/qpid/broker/TopicExchange.cpp b/cpp/src/qpid/broker/TopicExchange.cpp index 7372e58c4a..3f70f17ea4 100644 --- a/cpp/src/qpid/broker/TopicExchange.cpp +++ b/cpp/src/qpid/broker/TopicExchange.cpp @@ -19,6 +19,7 @@ * */ #include "qpid/broker/TopicExchange.h" +#include "qpid/broker/FedOps.h" #include "qpid/log/Statement.h" #include <algorithm> @@ -37,19 +38,6 @@ namespace _qmf = qmf::org::apache::qpid::broker; // - excessive string copying: should be 0 copy, match from original buffer. // - match/lookup: use descision tree or other more efficient structure. -namespace -{ -const std::string qpidFedOp("qpid.fed.op"); -const std::string qpidFedTags("qpid.fed.tags"); -const std::string qpidFedOrigin("qpid.fed.origin"); - -const std::string fedOpBind("B"); -const std::string fedOpUnbind("U"); -const std::string fedOpReorigin("R"); -const std::string fedOpHello("H"); -} - - namespace { // Iterate over a string of '.'-separated tokens. struct TokenIterator { |