Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2083

AMQP: Ensure message elements are not decoded unless needed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.3
    • 2.6.4
    • AMQP
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              tabish Timothy A. Bish
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: