Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-217

Remove unecessary copy of the body if an inbound BytesMessage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.1
    • 0.20.0
    • qpid-jms-client
    • None

    Description

      Inbound BytesMessage instances are copied on dispatch including a deep copy of the body of the message which is not needed as this value is immutable on the received messages, once reset from read-only to writeable a new buffer is always allocated and replaces the message's original content.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: