[ 
https://issues.apache.org/jira/browse/AMQ-9513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853200#comment-17853200
 ] 

Timothy A. Bish commented on AMQ-9513:
--------------------------------------

Just a note of clarification here, proton-j is perfectly capable of handling 
messages with multiple Data sections in them, only the simple Message wrapper 
object provided by proton-j for basic message use cases does not handle that 
case.  You would need to refactor the classic code to not use that and instead 
handle messages in such a way as to allow those multiple Data sections to pass 
through or be converted if going from AMQP to Openwire message types. 

> AMQP 1.0 message with multiple Data sections can be sent to broker but 
> corrupted
> --------------------------------------------------------------------------------
>
>                 Key: AMQ-9513
>                 URL: https://issues.apache.org/jira/browse/AMQ-9513
>             Project: ActiveMQ Classic
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 5.18.4, 6.1.2
>            Reporter: Yuriy Lepikhov
>            Priority: Major
>
> ActiveMQ Classic uses Qpid Proton-J to support AMQP 1.0, but Qpid Proton-J 
> does not support messages with multiple Data sections (see, PROTON-2299).
> One can send such message to broker, broker will accept such message, but it 
> will use last odd Data section as message body (no exception thrown or 
> warning logged).
> It is even possible to receive such message from broker, but it will contain 
> fewer bytes than original (and may be not from beginning).
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org
For additional commands, e-mail: issues-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to