You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2018/09/12 16:28:00 UTC

[jira] [Created] (ARTEMIS-2083) AMQP: Ensure message elements are not decoded unless needed

Timothy Bish created ARTEMIS-2083:
-------------------------------------

             Summary: 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
             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)