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

Message header defaults only work if no header present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.21.0
    • proton-c

    Description

      An error in the qpid-interop-tests JMS headers test showed that where there is no message priority on the wire, the C++ and Python client APIs do not return the default value as mandated by the AMQP spec. In particular, the priority is returned with a value of 0 rather than the default value of 4.

      This raises two issues:

      1. Setting the default value (in particularly for priority, where a priority system may be adopted that is not default, and the missing value may need to have a value other than 4).

      2. (C++) Gaining access to the transport headers so that there is an ability to distinguish between the default and the value being actually present on the wire.

      Attachments

        Issue Links

          Activity

            People

              astitcher Andrew Stitcher
              kpvdr Kim van der Riet
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: