diff options
| author | Alan Conway <aconway@apache.org> | 2013-03-07 17:25:47 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-03-07 17:25:47 +0000 |
| commit | 6129886499678fbab1111b6e7422b77b6f62e143 (patch) | |
| tree | 95cec06ad2139b0beb9dd7146950408a1b824c88 /qpid/cpp/include | |
| parent | 74f4b51ba0cc95529b054e450cd6327f91520b6b (diff) | |
| download | qpid-python-6129886499678fbab1111b6e7422b77b6f62e143.tar.gz | |
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@1453971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
| -rw-r--r-- | qpid/cpp/include/qpid/amqp_0_10/Codecs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/include/qpid/amqp_0_10/Codecs.h b/qpid/cpp/include/qpid/amqp_0_10/Codecs.h index d632a9f20a..99a06e0a32 100644 --- a/qpid/cpp/include/qpid/amqp_0_10/Codecs.h +++ b/qpid/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<framing::FieldValue> fieldValue(const types::Variant&); + }} // namespace qpid::amqp_0_10 #endif /*!QPID_AMQP_0_10_CODECS_H*/ |
