From c1624ea57c4097b30c155844e66ebbbe2dddc20e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 8 Jul 2009 11:48:57 +0000 Subject: QPID-1974: Fixes (and tests) for updating lvq state to new cluster members. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792103 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/ClusterPlugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qpid/cluster') diff --git a/cpp/src/qpid/cluster/ClusterPlugin.cpp b/cpp/src/qpid/cluster/ClusterPlugin.cpp index c2c07c052a..695bd8bfeb 100644 --- a/cpp/src/qpid/cluster/ClusterPlugin.cpp +++ b/cpp/src/qpid/cluster/ClusterPlugin.cpp @@ -34,6 +34,7 @@ #include "qpid/management/ManagementAgent.h" #include "qpid/management/IdAllocator.h" #include "qpid/broker/Exchange.h" +#include "qpid/broker/Message.h" #include "qpid/broker/Queue.h" #include "qpid/broker/SessionState.h" #include "qpid/client/ConnectionSettings.h" @@ -136,6 +137,7 @@ struct ClusterPlugin : public Plugin { broker->setConnectionFactory( boost::shared_ptr( new ConnectionCodec::Factory(broker->getConnectionFactory(), *cluster))); + broker::Message::setUpdateDestination(UpdateClient::UPDATE); ManagementAgent* mgmt = broker->getManagementAgent(); if (mgmt) { std::auto_ptr allocator(new UpdateClientIdAllocator()); -- cgit v1.2.1