diff options
author | Nuno Santos <nsantos@apache.org> | 2008-05-15 18:07:42 +0000 |
---|---|---|
committer | Nuno Santos <nsantos@apache.org> | 2008-05-15 18:07:42 +0000 |
commit | c8e16b308fe2243399c85fc4d8178eab5f421580 (patch) | |
tree | 093c6254e1e076ce7f779c19d823d123be2ac88d | |
parent | 08351607dda4b0b40abd944b3d0844d51775fc0a (diff) | |
download | qpid-python-c8e16b308fe2243399c85fc4d8178eab5f421580.tar.gz |
change ordering of config records in management updates; patch supplied by Ted Ross
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656766 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/qpid/broker/Broker.cpp | 2 | ||||
-rw-r--r-- | cpp/src/qpid/broker/System.cpp | 2 | ||||
-rw-r--r-- | cpp/src/qpid/broker/Vhost.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp index bc862214b7..0a45c46d30 100644 --- a/cpp/src/qpid/broker/Broker.cpp +++ b/cpp/src/qpid/broker/Broker.cpp @@ -155,7 +155,7 @@ Broker::Broker(const Broker::Options& conf) : mgmtObject->set_dataDirEnabled (dataDir.isEnabled ()); mgmtObject->set_dataDir (dataDir.getPath ()); - managementAgent->addObject (mgmtObject, 1, 1); + managementAgent->addObject (mgmtObject, 2, 1); // Since there is currently no support for virtual hosts, a placeholder object // representing the implied single virtual host is added here to keep the diff --git a/cpp/src/qpid/broker/System.cpp b/cpp/src/qpid/broker/System.cpp index 33a9db46a2..da886710ac 100644 --- a/cpp/src/qpid/broker/System.cpp +++ b/cpp/src/qpid/broker/System.cpp @@ -74,7 +74,7 @@ System::System (string _dataDir) mgmtObject->set_machine (std::string (_uname.machine)); } - agent->addObject (mgmtObject, 3, 1); + agent->addObject (mgmtObject, 1, 1); } } diff --git a/cpp/src/qpid/broker/Vhost.cpp b/cpp/src/qpid/broker/Vhost.cpp index c2c7e985b4..a809679d57 100644 --- a/cpp/src/qpid/broker/Vhost.cpp +++ b/cpp/src/qpid/broker/Vhost.cpp @@ -33,7 +33,7 @@ Vhost::Vhost (management::Manageable* parentBroker) { mgmtObject = management::Vhost::shared_ptr (new management::Vhost (this, parentBroker, "/")); - agent->addObject (mgmtObject, 2, 1); + agent->addObject (mgmtObject, 3, 1); } } } |