Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
protonj2-1.0.0-M19
-
None
Description
Setting the message format to 0 or keeping the default value results in a null value in the transfer frame.
0 seems to be considered a special value in the code.
This contradicts the Javadoc:
This field MUST be specified for the first transfer of a multi-transfer message, if it is not set at the time of send of the first transfer the sender uses the AMQP default value of zero for this field.
As well as the AMQP spec (section 2.7.5):
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.