[ https://issues.apache.org/jira/browse/QPID-6768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Godfrey resolved QPID-6768. ------------------------------- Resolution: Fixed > Avoid unnecessary message payload copy during send (0-8...0-91) > --------------------------------------------------------------- > > Key: QPID-6768 > URL: https://issues.apache.org/jira/browse/QPID-6768 > Project: Qpid > Issue Type: Bug > Components: Java Client, Java Common > Reporter: Keith Wall > Priority: Minor > Fix For: qpid-java-6.0 > > > The {{org.apache.qpid.framing.ContentBody#writePayload(java.io.DataOutput)}} > method (on the client's publish path when using 0-8..0-91) always copies the > payload before writing to the {{DataOutput}}. The underlying byte buffer is > expected to be a heap byte buffer and so will have a backing array, so the > copy can be optimised away in this case. -- 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