From fdebc18142c0479cd4e603affac141e7bdd5b50b Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Wed, 20 Oct 2010 22:15:24 +0000 Subject: 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 --- cpp/src/qpid/broker/Exchange.cpp | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'cpp/src/qpid/broker/Exchange.cpp') diff --git a/cpp/src/qpid/broker/Exchange.cpp b/cpp/src/qpid/broker/Exchange.cpp index aaf0805543..b499171418 100644 --- a/cpp/src/qpid/broker/Exchange.cpp +++ b/cpp/src/qpid/broker/Exchange.cpp @@ -21,6 +21,7 @@ #include "qpid/broker/Exchange.h" #include "qpid/broker/ExchangeRegistry.h" +#include "qpid/broker/FedOps.h" #include "qpid/broker/Broker.h" #include "qpid/broker/Cluster.h" #include "qpid/management/ManagementAgent.h" @@ -43,19 +44,10 @@ namespace _qmf = qmf::org::apache::qpid::broker; namespace { -const std::string qpidMsgSequence("qpid.msg_sequence"); -const std::string qpidSequenceCounter("qpid.sequence_counter"); -const std::string qpidIVE("qpid.ive"); -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"); - -const std::string QPID_MANAGEMENT("qpid.management"); + const std::string qpidMsgSequence("qpid.msg_sequence"); + const std::string qpidSequenceCounter("qpid.sequence_counter"); + const std::string qpidIVE("qpid.ive"); + const std::string QPID_MANAGEMENT("qpid.management"); } -- cgit v1.2.1