diff options
| author | Ted Ross <tross@apache.org> | 2009-05-20 15:17:21 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-05-20 15:17:21 +0000 |
| commit | a2c01a4f2dc35aab8b905ad7efb5c62305e6d48b (patch) | |
| tree | 141debb969aa98cc379bc6a78c41a9bf09ca6e71 /cpp/src/qpid/xml/XmlExchange.cpp | |
| parent | 285ca60cf814ce4b96813e929ced910d53097aef (diff) | |
| download | qpid-python-a2c01a4f2dc35aab8b905ad7efb5c62305e6d48b.tar.gz | |
Fixed a regression affecting plugin-exchanges.
Plugin exchanges (i.e. the XML exchange) do not get the broker pointer and
therefore can not register themselves with the management agent.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@776729 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/xml/XmlExchange.cpp')
| -rw-r--r-- | cpp/src/qpid/xml/XmlExchange.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/xml/XmlExchange.cpp b/cpp/src/qpid/xml/XmlExchange.cpp index 4e9de49ad5..f17a11f08b 100644 --- a/cpp/src/qpid/xml/XmlExchange.cpp +++ b/cpp/src/qpid/xml/XmlExchange.cpp @@ -51,15 +51,15 @@ namespace qpid { namespace broker { -XmlExchange::XmlExchange(const string& _name, Manageable* _parent) : Exchange(_name, _parent) + XmlExchange::XmlExchange(const string& _name, Manageable* _parent, Broker* b) : Exchange(_name, _parent, b) { if (mgmtExchange != 0) mgmtExchange->set_type (typeName); } XmlExchange::XmlExchange(const std::string& _name, bool _durable, - const FieldTable& _args, Manageable* _parent) : - Exchange(_name, _durable, _args, _parent) + const FieldTable& _args, Manageable* _parent, Broker* b) : + Exchange(_name, _durable, _args, _parent, b) { if (mgmtExchange != 0) mgmtExchange->set_type (typeName); |
