From 8ac585d1a4cf8facf8eb1109f8e028ccde1b31f4 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 21 May 2009 11:28:54 +0000 Subject: * 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 --- cpp/src/qpid/xml/XmlExchangePlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/xml/XmlExchangePlugin.cpp') 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(&target); if (broker) { @@ -60,7 +60,7 @@ void XmlExchangePlugin::initialize(Plugin::Target& target) } } -void XmlExchangePlugin::earlyInitialize(Target&) {} +void XmlExchangePlugin::initialize(Target&) {} static XmlExchangePlugin matchingPlugin; -- cgit v1.2.1