Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.