[
https://issues.apache.org/jira/browse/ARTEMIS-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16516275#comment-16516275
]
Timothy Bish commented on ARTEMIS-1941:
---------------------------------------
The broker converters aren't preserving the message body type as is done in
ActiveMQ 5.x so it just converts any Server side BytesMessage into an AmqpValue
section body type. ActiveMQ 5 had similar issues which were resolved in
AMQ-6374.
> broker changes AMQP body section type during 'Large' message handling
> ---------------------------------------------------------------------
>
> Key: ARTEMIS-1941
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1941
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 2.6.1
> Reporter: Robbie Gemmell
> Priority: Major
>
> When the broker receives AMQP messages it considers those over a certain size
> (currently the lower of journal file size and journal buffer size) to be a
> 'large' message. In its handling of these, the message is essentially
> converted internally to a Core message, and when sending the message to an
> AMQP consumer, essentially gets converted back. During investigation of and
> testing of ARTEMIS-1940 I noted that although my test sent in an AMQP Data
> body section and so that is what should come back out, I instead received an
> AMQP Value body section containing a binary value (with the same bytes).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)