From 589def015a6567ecb7be9fe2af0ebec662cea56c Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 3 Mar 2010 17:06:20 +0000 Subject: QPID-2427: Align browsing option with approach used in python client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918574 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/amqp0_10/AddressResolution.cpp | 15 ++++++++++++++- cpp/src/tests/MessagingSessionTests.cpp | 4 ++-- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp b/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp index f81086db99..56499bb458 100644 --- a/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp +++ b/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp @@ -65,7 +65,9 @@ const std::string EMPTY_STRING; //option names const std::string BROWSE("browse"); +const std::string CONSUME("consume"); const std::string EXCLUSIVE("exclusive"); +const std::string MODE("mode"); const std::string NO_LOCAL("no-local"); const std::string FILTER("filter"); const std::string RELIABILITY("reliability"); @@ -347,10 +349,21 @@ const Variant& getNestedOption(const Variant::Map& options, const std::vector