Java org.springframework.messaging.support GenericMessage fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.messaging.support GenericMessage fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.messaging.support GenericMessage.

The text is from its open source code.

Constructor

GenericMessage(T payload)
Create a new message with the given payload.
GenericMessage(T payload, Map headers)
Create a new message with the given payload and headers.
GenericMessage(T payload, MessageHeaders headers)
A constructor with the MessageHeaders instance to use.