public interface Message<T>
MessageBuilder
Modifier and Type | Method and Description |
---|---|
MessageHeaders |
getHeaders()
Return message headers for the message (never
null ). |
T |
getPayload()
Return the message payload.
|
MessageHeaders getHeaders()
null
).T getPayload()