summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/management/ManagementTopicExchange.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-04-23 19:07:14 +0000
committerTed Ross <tross@apache.org>2010-04-23 19:07:14 +0000
commit1256ed9262d0a8f769a72eb83b1669b33e1f7f59 (patch)
tree7b7e72b21445fdd2f6715e0f90cd7a82c73e2a0a /cpp/src/qpid/management/ManagementTopicExchange.cpp
parent4d8b7a47d1c774ccd4899c2f40acff744cf79a75 (diff)
downloadqpid-python-1256ed9262d0a8f769a72eb83b1669b33e1f7f59.tar.gz
Cluster management improvements:
1) Enable all management methods via QMFv2 for clusters 2) Disable all management methods via QMFv1 for clusters 3) The broker-resident management agent can handle both v1 and v2 method calls 4) qmf.console (Python) now works with new and old brokers by detecting whether the broker can handle v2 commands git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937472 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/management/ManagementTopicExchange.cpp')
-rw-r--r--cpp/src/qpid/management/ManagementTopicExchange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/management/ManagementTopicExchange.cpp b/cpp/src/qpid/management/ManagementTopicExchange.cpp
index 7fdce133e5..ee8657646f 100644
--- a/cpp/src/qpid/management/ManagementTopicExchange.cpp
+++ b/cpp/src/qpid/management/ManagementTopicExchange.cpp
@@ -47,7 +47,7 @@ void ManagementTopicExchange::route(Deliverable& msg,
// Intercept management agent commands
if (managementAgent)
- routeIt = managementAgent->dispatchCommand(msg, routingKey, args, true /* topic */);
+ routeIt = managementAgent->dispatchCommand(msg, routingKey, args, true, qmfVersion);
if (routeIt)
TopicExchange::route(msg, routingKey, args);