[
https://issues.apache.org/jira/browse/QPIDJMS-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15622768#comment-15622768
]
ASF subversion and git services commented on QPIDJMS-217:
---------------------------------------------------------
Commit ec04b3cb0767606c33c2257f1154ea1e627f79a7 in qpid-jms's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=ec04b3c ]
QPIDJMS-217 Remove unnecessary copy of message payload
Don't deep copy the body of BytesMessage's on dispatch.
> 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: [email protected]
For additional commands, e-mail: [email protected]