- build
- withPayload
Create a new builder for a message with the given payload.
- setHeader
Set the value for the given header name. If the provided value is null, the
header will be removed.
- createMessage
A shortcut factory method for creating a message with the given payload and
MessageHeaders.Note: the
- copyHeaders
Copy the name-value pairs from the provided Map. This operation will overwrite
any existing values.
- fromMessage
Create a builder for a new Message instance pre-populated with all of the
headers copied from the pr
- setHeaderIfAbsent
Set the value for the given header name only if the header name is not already
associated with a val
- copyHeadersIfAbsent
Copy the name-value pairs from the provided Map. This operation will not
overwrite any existing val
- setHeaders
Set the message headers to use by providing a MessageHeaderAccessor.
- setErrorChannel
- <init>
- setReplyChannel