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