summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/cluster/exp/WiringHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/qpid/cluster/exp/WiringHandler.cpp')
-rw-r--r--qpid/cpp/src/qpid/cluster/exp/WiringHandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/cluster/exp/WiringHandler.cpp b/qpid/cpp/src/qpid/cluster/exp/WiringHandler.cpp
index 92f7183a08..79e9d657bc 100644
--- a/qpid/cpp/src/qpid/cluster/exp/WiringHandler.cpp
+++ b/qpid/cpp/src/qpid/cluster/exp/WiringHandler.cpp
@@ -41,9 +41,10 @@ using namespace broker;
using framing::FieldTable;
WiringHandler::WiringHandler(EventHandler& e,
- const boost::intrusive_ptr<QueueHandler>& qh) :
+ const boost::intrusive_ptr<QueueHandler>& qh,
+ broker::Broker& b) :
HandlerBase(e),
- broker(e.getCore().getBroker()),
+ broker(b),
recovery(broker.getQueues(), broker.getExchanges(),
broker.getLinks(), broker.getDtxManager()),
queueHandler(qh)