summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-09-16 19:40:48 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-09-16 19:40:48 +0000
commita79011c828aa008ee2207fe7fe780f5c50486f46 (patch)
treec38b73cdc3390b91034022b76fc2abbfc84da045 /cpp
parent28af05eefebf472eefffd9458f9ae0eac52a5e87 (diff)
downloadqpid-python-a79011c828aa008ee2207fe7fe780f5c50486f46.tar.gz
- implement mgnt clusternode stop
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696027 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index 2a73925090..73b11cf124 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -244,8 +244,7 @@ void Cluster::disconnect(sys::DispatchHandle& ) {
// FIXME aconway 2008-09-11: this should be logged as critical,
// when we provide admin option to shut down cluster and let
// members leave cleanly.
- QPID_LOG(notice, self << " disconnected from cluster " << name.str());
- broker.shutdown();
+ stopClusterNode();
}
void Cluster::configChange(
@@ -385,6 +384,8 @@ Manageable::status_t Cluster::ManagementMethod (uint32_t methodId, Args& /*args*
void Cluster::stopClusterNode(void)
{
+ QPID_LOG(notice, self << " disconnected from cluster " << name.str());
+ broker.shutdown();
}
void Cluster::stopFullCluster(void)