You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2017/06/14 19:49:00 UTC
[jira] [Created] (PROTON-1502) always encode empty proprty maps as
missing properties, not empty maps
Alan Conway created PROTON-1502:
-----------------------------------
Summary: always encode empty proprty maps as missing properties, not empty maps
Key: PROTON-1502
URL: https://issues.apache.org/jira/browse/PROTON-1502
Project: Qpid Proton
Issue Type: Improvement
Components: proton-c
Reporter: Alan Conway
Assignee: Alan Conway
The AMQP spec allows 2 eqiuvalent encodings for message-annotations, delivery-annotations, application-properties and filter-sets if there are no annotations/properties or filters. They can either be encoded as missing property values in the message/source or as empty map values.
Proton should always encode as a missing value. This is the more compact representation, and more inter-operable since some incorrect AMQP implementations are confused by a present but empty map.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org