diff options
author | Ted Ross <tross@apache.org> | 2010-04-23 19:02:31 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2010-04-23 19:02:31 +0000 |
commit | 313c8b1f67f7b9ddca911d6227e947aed6e01db6 (patch) | |
tree | bc894733c63c6b0ef4713f12fad9b27a9547a67d /qpid/cpp/src | |
parent | a2e3a01aec5de1efc9d6650d62b15b367f102e02 (diff) | |
download | qpid-python-313c8b1f67f7b9ddca911d6227e947aed6e01db6.tar.gz |
QPID-2517 - Broker schema changes to support cluster management.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@937470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r-- | qpid/cpp/src/qpid/broker/Broker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/Broker.cpp b/qpid/cpp/src/qpid/broker/Broker.cpp index 82d38a2d0b..50ab543baf 100644 --- a/qpid/cpp/src/qpid/broker/Broker.cpp +++ b/qpid/cpp/src/qpid/broker/Broker.cpp @@ -172,7 +172,9 @@ Broker::Broker(const Broker::Options& conf) : System* system = new System (dataDir.isEnabled() ? dataDir.getPath() : string(), this); systemObject = System::shared_ptr(system); - mgmtObject = new _qmf::Broker(managementAgent.get(), this, system, conf.port); + mgmtObject = new _qmf::Broker(managementAgent.get(), this, system, "amqp-broker"); + mgmtObject->set_systemRef(system->GetManagementObject()->getObjectId()); + mgmtObject->set_port(conf.port); mgmtObject->set_workerThreads(conf.workerThreads); mgmtObject->set_maxConns(conf.maxConnections); mgmtObject->set_connBacklog(conf.connectionBacklog); |