You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/06/14 22:26:00 UTC
[jira] [Commented] (PROTON-1502) always encode empty proprty maps
as missing properties, not empty maps
[ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org