summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2012-11-23 16:56:57 +0000
committerGordon Sim <gsim@apache.org>2012-11-23 16:56:57 +0000
commit57036cbee30c301a68b8acfdcd67ceabcf260fa1 (patch)
tree8a14949ecf867706e329263bfe9bac8e1e2be849 /cpp
parent969eabd2abd821830ae32d73c3a03d95c20a70a7 (diff)
downloadqpid-python-57036cbee30c301a68b8acfdcd67ceabcf260fa1.tar.gz
QPID-4464: set container name when sending open
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1412962 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/amqp/Connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/amqp/Connection.cpp b/cpp/src/qpid/broker/amqp/Connection.cpp
index 329b4263ee..1f135cf931 100644
--- a/cpp/src/qpid/broker/amqp/Connection.cpp
+++ b/cpp/src/qpid/broker/amqp/Connection.cpp
@@ -157,6 +157,7 @@ void Connection::process()
QPID_LOG(trace, id << " process()");
if ((pn_connection_state(connection) & REQUIRES_OPEN) == REQUIRES_OPEN) {
QPID_LOG_CAT(debug, model, id << " connection opened");
+ pn_connection_set_container(connection, broker.getFederationTag().c_str());
pn_connection_open(connection);
}