diff options
| author | Ted Ross <tross@apache.org> | 2011-02-02 18:16:57 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-02-02 18:16:57 +0000 |
| commit | 1e77b7bcf6766afbf161137284edbf2a6a255447 (patch) | |
| tree | 62febe1cb56d61ba10407ae14c10ffe933742437 /qpid/cpp/src/qmf/SchemaId.cpp | |
| parent | edcf57cc2939ab1573969b521b96e5e0abe4ea81 (diff) | |
| download | qpid-python-1e77b7bcf6766afbf161137284edbf2a6a255447.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@1066562 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/SchemaId.cpp')
| -rw-r--r-- | qpid/cpp/src/qmf/SchemaId.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
