You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/07/02 19:00:00 UTC

[jira] [Commented] (ARTEMIS-1941) broker changes AMQP body section type during 'Large' message handling

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

ASF subversion and git services commented on ARTEMIS-1941:
----------------------------------------------------------

Commit a63b0315c415f8a800c185a965e523d93861cd5a in activemq-artemis's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=a63b031 ]

ARTEMIS-1941 Preserve AMQP body section type on "large" messages

When "large" messages are converted to / from core in order to be stored
in the large message store the type of the AMQP body section is being
lost and reconstituted incorrectly in some cases.  The message needs to
be annotated with the original AMQP type for the body and that used to
manage the conversion back to AMQP from Core.


> 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, ~500KB default) 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)