You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2016/10/31 17:20:58 UTC

[jira] [Resolved] (QPIDJMS-217) Remove unecessary copy of the body if an inbound BytesMessage

     [ https://issues.apache.org/jira/browse/QPIDJMS-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved QPIDJMS-217.
----------------------------------
    Resolution: Fixed

> Remove unecessary copy of the body if an inbound BytesMessage
> -------------------------------------------------------------
>
>                 Key: QPIDJMS-217
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-217
>             Project: Qpid JMS
>          Issue Type: Improvement
>          Components: qpid-jms-client
>    Affects Versions: 0.11.1
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 0.20.0
>
>
> 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.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org