[jira] [Created] (PROTON-1502) always encode empty proprty maps as missing properties, not empty maps

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (PROTON-1502) always encode empty proprty maps as missing properties, not empty maps

JIRA jira@apache.org
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: [hidden email]
For additional commands, e-mail: [hidden email]