From 9991fae5ea4415b6ef760a4430658202b90264bc Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 2 Feb 2011 18:16:57 +0000 Subject: QPID-3032 - Modifications to the QMFv2 implementation: 1) Use the topic exchange as the base for direct and reply-to addresses. 2) Add a strict-security option to the Console and Agent APIs that narrows the messaging patterns used such that they can easily be controlled by broker ACL policy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066562 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qmf/SchemaId.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/qmf/SchemaId.cpp') diff --git a/cpp/src/qmf/SchemaId.cpp b/cpp/src/qmf/SchemaId.cpp index 110a2553fd..25fa9915ae 100644 --- a/cpp/src/qmf/SchemaId.cpp +++ b/cpp/src/qmf/SchemaId.cpp @@ -78,7 +78,8 @@ Variant::Map SchemaIdImpl::asMap() const result["_type"] = "_data"; else result["_type"] = "_event"; - result["_hash"] = hash; + if (!hash.isNull()) + result["_hash"] = hash; return result; } -- cgit v1.2.1