From 1e77b7bcf6766afbf161137284edbf2a6a255447 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@1066562 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qmf/SchemaId.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qpid/cpp/src/qmf/SchemaId.cpp') diff --git a/qpid/cpp/src/qmf/SchemaId.cpp b/qpid/cpp/src/qmf/SchemaId.cpp index 110a2553fd..25fa9915ae 100644 --- a/qpid/cpp/src/qmf/SchemaId.cpp +++ b/qpid/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