diff options
| author | Ted Ross <tross@apache.org> | 2008-10-31 18:56:24 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-10-31 18:56:24 +0000 |
| commit | e18637a56ae0e3a70f7003512944c3f7b5c5fd0e (patch) | |
| tree | acf7562d563fe715b6d23f54cd3c03509be10807 /cpp | |
| parent | 4cbbb2a935e2eda7aa8d79fd6d5764cbbfb2010a (diff) | |
| download | qpid-python-e18637a56ae0e3a70f7003512944c3f7b5c5fd0e.tar.gz | |
Federation enhancements and bug fixes:
qmfconsole.py - minor fixes, make sure object-dereference only queries one broker
Bridge.cpp - Added channel-id to queue name to avoid collisions
qpid-route - Added link-map feature for viewing the entire federated topology
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Bridge.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Bridge.cpp b/cpp/src/qpid/broker/Bridge.cpp index 8104907402..f9cb7ccd3c 100644 --- a/cpp/src/qpid/broker/Bridge.cpp +++ b/cpp/src/qpid/broker/Bridge.cpp @@ -27,6 +27,7 @@ #include "qpid/framing/FieldTable.h" #include "qpid/framing/Uuid.h" #include "qpid/log/Statement.h" +#include <iostream> using qpid::framing::FieldTable; using qpid::framing::Uuid; @@ -59,7 +60,9 @@ Bridge::Bridge(Link* _link, framing::ChannelId _id, CancellationListener l, link(_link), id(_id), args(_args), mgmtObject(0), listener(l), name(Uuid(true).str()), queueName("bridge_queue_"), persistenceId(0) { - queueName += link->getBroker()->getFederationTag(); + std::stringstream title; + title << id << "_" << link->getBroker()->getFederationTag(); + queueName += title.str(); ManagementAgent* agent = ManagementAgent::Singleton::getInstance(); if (agent != 0) { mgmtObject = new _qmf::Bridge |
