summaryrefslogtreecommitdiff
path: root/cpp/src/qmf/SchemaId.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2011-02-02 18:16:57 +0000
committerTed Ross <tross@apache.org>2011-02-02 18:16:57 +0000
commit9991fae5ea4415b6ef760a4430658202b90264bc (patch)
tree93399916cd50e0ac10aa761144b4915d9085e217 /cpp/src/qmf/SchemaId.cpp
parent24fb6939e5420ecae9033687c8c6081a62cd42a5 (diff)
downloadqpid-python-9991fae5ea4415b6ef760a4430658202b90264bc.tar.gz
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
Diffstat (limited to 'cpp/src/qmf/SchemaId.cpp')
-rw-r--r--cpp/src/qmf/SchemaId.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}