Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
proton-0.12.0
-
None
Description
The spec [1] notes various details for the message-format field which we dont currently enforce, such as that it must be present on the first transfer of a multi-transfer message, can be omitted on continuations, and that [if set] it is an error for the format on a contituation to differ from the first transfer.
Previously the format was alwayss et to 0 on outgoing transfers, and never used/inspected at all on incoming transfers, with the Delivery#getMessageFormat() method always returning 0. Following PROTON-1096, the value on the first transfer for a message is used to update the message-format value returned from the Delivery object.
[1] http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-transfer
Attachments
Issue Links
- is blocked by
-
PROTON-281 Engine should handle errors by generating implicit CLOSE frame
- Open
- relates to
-
PROTON-1038 message-format on received transfer is never checked (nor made available for application to check)
- Open
-
PROTON-1096 [proton-j] enable set/get of MessageFormat on the Delivery being sent/received
- Closed