Timothy Bish created QPIDJMS-217: ------------------------------------ Summary: 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org