[
https://issues.apache.org/jira/browse/ARTEMIS-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628763#comment-16628763
]
ASF subversion and git services commented on ARTEMIS-2096:
----------------------------------------------------------
Commit a851a8f93f30972d252f2bff0bb3d5847cfd7b5f in activemq-artemis's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=a851a8f ]
ARTEMIS-2096 Refactor AMQMessage abstraction
Major refactoring of the AMQPMessage abstraction to resolve
some issue of message corruption still present in the code and
improve the API handling of message changes and re-encoding.
Improves handling of decoding of message sections limiting the
work to only the portions needed and ensuring the state data
is always updated with what has been done. Fixes issues of
corrupt state on copy of message or other changes in filters.
> AMQP: Refactoring AMQPMessage abstraction for better consistency and
> performance
> --------------------------------------------------------------------------------
>
> Key: ARTEMIS-2096
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2096
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 2.6.3
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Priority: Major
> Fix For: 2.7.0
>
>
> The AMQPMessage abstraction used to wrap the AMQP message section has some
> inconsistencies in how it manages the underlying data and the decoded AMQP
> section obtained from the Proton-J codec as well as issues with state being
> maintained in the presence of changes to the message made through the public
> facing Message APIs
> A refactoring of the AMQPMessage class to better utilize the proton-j codec
> to manage the message data and how it is parsed and re-encoded on change
> needs to be done to ensure no corrupt messages are sent and that we are not
> decoding and encoding sections of the message we are not intending to read or
> change on the sever (We currently can decode message bodies or footer is a
> few cases where we intend not to).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)