Example usage for Java org.springframework.messaging.support GenericMessage fields, constructors, methods, implement or subclass
The text is from its open source code.
GenericMessage(T payload) Create a new message with the given payload. | |
GenericMessage(T payload, Map Create a new message with the given payload and headers. | |
GenericMessage(T payload, MessageHeaders headers) A constructor with the MessageHeaders instance to use. |