summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index eb6428d394..e718819f48 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -509,10 +509,8 @@ ConnectionPtr Cluster::getConnection(const EventFrame& e, Lock&) {
assert(cp);
}
else { // New remote connection, create a shadow.
- std::ostringstream mgmtId;
unsigned int ssf = (announce && announce->hasSsf()) ? announce->getSsf() : 0;
- mgmtId << id;
- cp = new Connection(*this, shadowOut, mgmtId.str(), id, ssf);
+ cp = new Connection(*this, shadowOut, announce->getManagementId(), id, ssf);
}
connections.insert(ConnectionMap::value_type(id, cp));
}