diff options
author | Gordon Sim <gsim@apache.org> | 2009-05-21 11:28:54 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-05-21 11:28:54 +0000 |
commit | 8ac585d1a4cf8facf8eb1109f8e028ccde1b31f4 (patch) | |
tree | 1d33cceceaa24acba93d850e3ea42793095785fe /cpp/src/qpid/xml/XmlExchangePlugin.cpp | |
parent | f5b66fb89b36b98b803545908a6713a3728ac4e4 (diff) | |
download | qpid-python-8ac585d1a4cf8facf8eb1109f8e028ccde1b31f4.tar.gz |
* adjust replication exchange in line with change to registration function signature
* make exchange type plugins register themselves on earlyInitialise; otherwise recovery of durable exchange occurs before plugins are initialised
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777073 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/xml/XmlExchangePlugin.cpp')
-rw-r--r-- | cpp/src/qpid/xml/XmlExchangePlugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/xml/XmlExchangePlugin.cpp b/cpp/src/qpid/xml/XmlExchangePlugin.cpp index 4bd3ed741e..8f2d127424 100644 --- a/cpp/src/qpid/xml/XmlExchangePlugin.cpp +++ b/cpp/src/qpid/xml/XmlExchangePlugin.cpp @@ -51,7 +51,7 @@ public: }; -void XmlExchangePlugin::initialize(Plugin::Target& target) +void XmlExchangePlugin::earlyInitialize(Plugin::Target& target) { Broker* broker = dynamic_cast<broker::Broker*>(&target); if (broker) { @@ -60,7 +60,7 @@ void XmlExchangePlugin::initialize(Plugin::Target& target) } } -void XmlExchangePlugin::earlyInitialize(Target&) {} +void XmlExchangePlugin::initialize(Target&) {} static XmlExchangePlugin matchingPlugin; |