From 27fbcb5efc5af79c6d2bf69409c4ff267c33bc6a Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 2 Sep 2013 16:22:24 +0000 Subject: QPID-5106: handle annotations properly and add option to control whether annotations are nested or not on fetch() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1519466 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/messaging/ConnectionOptions.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qpid/messaging/ConnectionOptions.cpp') diff --git a/cpp/src/qpid/messaging/ConnectionOptions.cpp b/cpp/src/qpid/messaging/ConnectionOptions.cpp index 746666a79c..6304263844 100644 --- a/cpp/src/qpid/messaging/ConnectionOptions.cpp +++ b/cpp/src/qpid/messaging/ConnectionOptions.cpp @@ -115,6 +115,8 @@ void ConnectionOptions::set(const std::string& name, const qpid::types::Variant& reconnectOnLimitExceeded = value; } else if (name == "container-id" || name == "container_id") { identifier = value.asString(); + } else if (name == "nest-annotations" || name == "nest_annotations") { + nestAnnotations = value; } else { throw qpid::messaging::MessagingException(QPID_MSG("Invalid option: " << name << " not recognised")); } -- cgit v1.2.1