Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7823

[Java Broker] [AMQP1.0] Contradicting message-formats on multi transfer deliveries should result in error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      The AMQP specification states in section 2.7.5 about the message-format field of the Transfer performative:

      This field MUST be specified for the first transfer of a multi-transfer message and can only be omitted for continuation transfers. It is an error if the message-format on a continuation transfer differs from the message-format on the first transfer of a delivery.

      We currently do not enforce this. Currently we just take the value of the first transfer that specifies it and ignore all subsequent values which is not spec compliant. We also allow it to be unspecified (i.e., null) in which case we default to UnsignedInteger(0).

      AMQP-130 was raised to clarify how to handle the error case.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lorenz.quack Lorenz Quack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: