[
https://issues.apache.org/jira/browse/PROTON-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16049749#comment-16049749
]
ASF subversion and git services commented on PROTON-1502:
---------------------------------------------------------
Commit 662957df680dd51dd46c31a15330f228ec0f1452 in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=662957d ]
PROTON-1502: encode empty annotations by ommission, not as empty maps
> 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: [email protected]
For additional commands, e-mail: [email protected]