summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2010-10-08 17:11:06 +0000
committerJonathan Robie <jonathan@apache.org>2010-10-08 17:11:06 +0000
commitbffae05ed566e1a210f52782abdbdfdecec7ea09 (patch)
tree63e63adaf5ee324cfab4f06e1491f6002ee2a510 /cpp/src/qpid/cluster/Cluster.cpp
parent577f07b0c7329a2fa36f019e1f4e1735d76b4905 (diff)
downloadqpid-python-bffae05ed566e1a210f52782abdbdfdecec7ea09.tar.gz
Registers the amq.failover exchange in the management exchange.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005908 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index 5da1579cb7..acf4206629 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -282,7 +282,7 @@ Cluster::Cluster(const ClusterSettings& set, broker::Broker& b) :
broker.setClusterTimer(std::auto_ptr<sys::Timer>(timer));
// Failover exchange provides membership updates to clients.
- failoverExchange.reset(new FailoverExchange(this));
+ failoverExchange.reset(new FailoverExchange(broker.GetVhostObject(), &broker));
broker.getExchanges().registerExchange(failoverExchange);
// Update exchange is used during updates to replicate messages