summaryrefslogtreecommitdiff
path: root/qpid
diff options
context:
space:
mode:
Diffstat (limited to 'qpid')
-rw-r--r--qpid/cpp/src/qpid/broker/Connection.cpp2
-rw-r--r--qpid/specs/management-schema.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/Connection.cpp b/qpid/cpp/src/qpid/broker/Connection.cpp
index 043325a4fa..3cb30a82e3 100644
--- a/qpid/cpp/src/qpid/broker/Connection.cpp
+++ b/qpid/cpp/src/qpid/broker/Connection.cpp
@@ -118,7 +118,7 @@ void Connection::addManagementObject() {
agent = broker.getManagementAgent();
if (agent != 0) {
// TODO set last bool true if system connection
- mgmtObject = _qmf::Connection::shared_ptr(new _qmf::Connection(agent, this, parent, mgmtId, !link, false));
+ mgmtObject = _qmf::Connection::shared_ptr(new _qmf::Connection(agent, this, parent, mgmtId, !link, false, "AMQP 0-10"));
mgmtObject->set_shadow(shadow);
agent->addObject(mgmtObject, objectId);
}
diff --git a/qpid/specs/management-schema.xml b/qpid/specs/management-schema.xml
index f0d399d005..af33f3a2bd 100644
--- a/qpid/specs/management-schema.xml
+++ b/qpid/specs/management-schema.xml
@@ -359,6 +359,7 @@
<property name="saslMechanism" type="sstr" access="RO" desc="SASL mechanism"/>
<property name="saslSsf" type="uint16" access="RO" desc="SASL security strength factor"/>
<property name="remoteProperties" type="map" access="RO" desc="optional map of identifying information sent by the remote"/>
+ <property name="protocol" type="sstr" access="RC" desc="protocol in use"/>
<statistic name="closing" type="bool" desc="This client is closing by management request"/>
<statistic name="framesFromClient" type="count64"/>
<statistic name="framesToClient" type="count64"/>