[ 
https://issues.apache.org/jira/browse/QPID-7823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Rudyy resolved QPID-7823.
------------------------------
    Resolution: Fixed

The changes are reviewed as part of working in pair by Lorenz and me

> [Java Broker] [AMQP1.0] Contradicting message-formats on multi transfer 
> deliveries should result in error
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7823
>                 URL: https://issues.apache.org/jira/browse/QPID-7823
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-broker-7.0.0
>
>
> The AMQP specification states in [section 
> 2.7.5|http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-transfer]
>  about the message-format field of the Transfer performative:
> bq. 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|https://issues.oasis-open.org/browse/AMQP-130] was raised to 
> clarify how to handle the error case.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to