Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1502

always encode empty proprty maps as missing properties, not empty maps

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.18.0
    • proton-c
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              aconway Alan Conway
              aconway Alan Conway
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: