[
https://issues.apache.org/jira/browse/ARTEMIS-2083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16612793#comment-16612793
]
ASF subversion and git services commented on ARTEMIS-2083:
----------------------------------------------------------
Commit 369e475af629d2159abae3a7b3e4162b924f7a3a in activemq-artemis's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=369e475 ]
ARTEMIS-2083 Decode only the relavent portions of the message
Ensure that the Body of the message is never decoded in the partial
decode phase of the message processing and also gaurd against the
decode of ApplicationProperties which should be done lazily. Add
lazy decode of DeliveryAnnotations as they are not used at present.
> AMQP: Ensure message elements are not decoded unless needed
> -----------------------------------------------------------
>
> Key: ARTEMIS-2083
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2083
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: AMQP
> Affects Versions: 2.6.3
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Priority: Major
> Fix For: 2.7.0
>
>
> With the right Message encoding the broker can mistakenly fully decode the
> AMQP message body when it should ever be doing so unless converting to Core.
> This can happen when no ApplicationProperties are present and a lazy decode
> attempt happen or it can occur if the Message doesn't carry and Properties or
> ApplicationProperties when the initial message partial decode happens.
> Likewise the broker can in some cases decode the Application Properties when
> they should only be decoded lazily.
> We can also skip decode of any delivery annotations as they are never used by
> the broker at the moment and we can lazy decode them later as needed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)