summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/cluster
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-03-02 21:06:51 +0000
committerAlan Conway <aconway@apache.org>2011-03-02 21:06:51 +0000
commit83af9a32496f3e954fe847318587ac03ae78c3d6 (patch)
tree7e3fe8ff13d30f2ab306c8b3b38e26d485ed3da5 /qpid/cpp/src/qpid/cluster
parentbfc890b6dbfc25211dfd9639f76df46e47e0e129 (diff)
downloadqpid-python-83af9a32496f3e954fe847318587ac03ae78c3d6.tar.gz
QPID-3105: Alternate-Exchange configuration not communicated between nodes in a cluster.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076375 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/cluster')
-rw-r--r--qpid/cpp/src/qpid/cluster/Cluster.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Cluster.cpp b/qpid/cpp/src/qpid/cluster/Cluster.cpp
index fe5a1c806e..a8a99d83b5 100644
--- a/qpid/cpp/src/qpid/cluster/Cluster.cpp
+++ b/qpid/cpp/src/qpid/cluster/Cluster.cpp
@@ -943,6 +943,10 @@ void Cluster::checkUpdateIn(Lock& l) {
mAgent->suppress(false); // Enable management output.
mAgent->clusterUpdate();
}
+ // Restore alternate exchange settings on exchanges.
+ broker.getExchanges().eachExchange(
+ boost::bind(&broker::Exchange::recoveryComplete, _1,
+ boost::ref(broker.getExchanges())));
enableClusterSafe(); // Enable cluster-safe assertions
deliverEventQueue.start();
}