public interface BytesMessage extends Message
BytesMessage contains a stream of uninterpreted bytes. It inherits from the Message interface and
adds a bytes message body.
The BytesMessage doesn't know the format or encoding rules of the body, the provider and consumer decide the
interpretation of the bytes body.
Message.BuiltinKeys| Modifier and Type | Method and Description |
|---|---|
BytesMessage |
setBody(byte[] body)
Sets the bytes message body.
|
getBody, putSysHeaders, putSysHeaders, putSysHeaders, putSysHeaders, putUserHeaders, putUserHeaders, putUserHeaders, putUserHeaders, sysHeaders, userHeadersBytesMessage setBody(byte[] body)
body - the message body to be setCopyright © 2017–2018 OpenMessaging. All rights reserved.