Message

A generic message representation with headers and body.

@author Mark Fisher @author Arjen Poutsma @since 4.0 @param (T) the payload type @see hunt.stomp.support.MessageBuilder

interface Message : MessageBase (
T
) {}

Members

Functions

getPayload
T getPayload()

Return the message payload.

Inherited Members

From MessageBase

payloadType
TypeInfo payloadType()
Undocumented in source.
getHeaders
MessageHeaders getHeaders()

Return message headers for the message (never {@code null} but may be empty).

Meta