public interface MessagePayload
| Modifier and Type | Method and Description |
|---|---|
byte[] |
copiedBuffer()
Copy the bytes of the payload into the byte array.
|
default void |
release()
Release the resources if necessary.
|
byte[] copiedBuffer()
default void release()
MessagePayloadFactory.DEFAULT, this method must be
called to avoid memory leak.Copyright © 2017–2022 Apache Software Foundation. All rights reserved.