Author: gsim
Date: Fri Oct 19 17:15:27 2012
New Revision: 1400174
URL: http://svn.apache.org/viewvc?rev=1400174&view=rev
Log:
QPID-4368: Add protocol description to connection schema
Conflicts:
qpid/cpp/src/qpid/broker/Connection.cpp
Modified:
qpid/trunk/qpid/cpp/src/qpid/broker/Connection.cpp
qpid/trunk/qpid/specs/management-schema.xml
Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Connection.cpp
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Connection.cpp?rev=1400174&r1=1400173&r2=1400174&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Connection.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Connection.cpp Fri Oct 19 17:15:27 2012
@@ -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);
}
Modified: qpid/trunk/qpid/specs/management-schema.xml
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/specs/management-schema.xml?rev=1400174&r1=1400173&r2=1400174&view=diff
==============================================================================
--- qpid/trunk/qpid/specs/management-schema.xml (original)
+++ qpid/trunk/qpid/specs/management-schema.xml Fri Oct 19 17:15:27 2012
@@ -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"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]