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

[Python binding] AMQP null type not sent on wire according to AMQP specification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • proton-c-0.19.0
    • python-binding
    • None

    Description

      When sending AMQP type null as the content of a message, the Python binding sends the message with no body at all, and similarly interprets a no-body AMQP type message as a null type. This violates the AMQP 1.0 specification on two counts:

      • A body MUST be present and be one of three types (section 3.2);
      • When sending an AMQP null type, there is an assigned AMQP type code (0x40) which should be used.

      This causes interoperability issues with other clients. For example, the C++ client can't send a null type to a python client without a failure (or visa versa).

      Attachments

        Activity

          People

            kpvdr Kim van der Riet
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: