- <init>
Constructs a message with the given headers and body.
- setBody
Sets the body of the message to the given content.
- getHeaders
Returns the headers of the message.
- getBodyAsString
Returns the body as a String with the given character set encoding. If there is
no body to the messa
- setContentType
Sets the content type of the message. This is a convenience method for setting
the Headers#CONTENT_T
- getContentType
Returns the content type of the message. This is a convenience method for
getting the Headers#CONTEN
- getCorrelationId
Returns the correlation ID of the message. This is a convenience method for
getting the Headers#CORR
- getReplyTo
Returns the reply to destination of the message. This is a convenience method
for getting the Header
- setCorrelationId
Sets the correlation ID of the message. This is a convenience method for setting
the Headers#CORRELA
- setDestination
Sets the destination of the message. This is a convenience method for setting
the Headers#DESTINATIO
- setReplyTo
Sets the reply to destination of the message. This is a convenience method for
setting the Headers#R
- getDestination
Returns the destination of the message. This is a convenience method for getting
the Headers#DESTINA