Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.