Robbie Gemmell created PROTON-1097:

             Summary: [proton-j] validate details for message-format value on 
received transfers
                 Key: PROTON-1097
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-j
    Affects Versions: 0.12.0
            Reporter: Robbie Gemmell
            Priority: Minor

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 

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.


This message was sent by Atlassian JIRA

Reply via email to