From 1efef88b65557a4f50806f9c27f47f568d2b33bc Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 7 Mar 2013 17:25:47 +0000 Subject: QPID-4630: HA Fix starting from persistent store. This was implemented in r1390123 but broken by subsequent changes. When re-starting a persistent HA cluster, the broker that becomes primary keeps its recovered queues while backup brokers discard their recovered queues and catch up from the primary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1453971 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/amqp_0_10/Codecs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/include') diff --git a/cpp/include/qpid/amqp_0_10/Codecs.h b/cpp/include/qpid/amqp_0_10/Codecs.h index d632a9f20a..99a06e0a32 100644 --- a/cpp/include/qpid/amqp_0_10/Codecs.h +++ b/cpp/include/qpid/amqp_0_10/Codecs.h @@ -24,10 +24,12 @@ #include "qpid/CommonImportExport.h" #include "qpid/types/Variant.h" +#include "boost/shared_ptr.hpp" namespace qpid { namespace framing { class FieldTable; +class FieldValue; } namespace amqp_0_10 { /** @@ -74,6 +76,8 @@ QPID_COMMON_EXTERN void translate(const qpid::types::Variant::Map& from, const s QPID_COMMON_EXTERN void translate(const qpid::framing::FieldTable& from, qpid::types::Variant::Map& to); +QPID_COMMON_EXTERN boost::shared_ptr fieldValue(const types::Variant&); + }} // namespace qpid::amqp_0_10 #endif /*!QPID_AMQP_0_10_CODECS_H*/ -- cgit v1.2.1