| Package | Description | 
|---|---|
| org.springframework.messaging.simp | Generic support for Simple Messaging Protocols including protocols such as STOMP. | 
| org.springframework.messaging.simp.annotation.support | Support classes for handling messages from simple messaging protocols
 (like STOMP). | 
| org.springframework.messaging.simp.broker | Provides a "simple" message broker implementation along with an abstract base
 class and other supporting types such as a registry for subscriptions. | 
| org.springframework.messaging.simp.stomp | Generic support for simple messaging protocols (like STOMP). | 
| org.springframework.messaging.simp.user | Support for handling messages to "user" destinations (i.e. | 
| org.springframework.messaging.support | Provides implementations of  Messagealong with
 a MessageBuilder and MessageHeaderAccessor for building and working with messages and
 message headers, as well as variousMessageChannelimplementations and channel interceptor support. | 
| org.springframework.web.socket.messaging | WebSocket integration for Spring's messaging module. | 
| Modifier and Type | Method and Description | 
|---|---|
| MessageHeaderInitializer | SimpMessagingTemplate. getHeaderInitializer()Return the configured header initializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SimpMessagingTemplate. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a  MessageHeaderInitializerto apply to the headers of all
 messages created through theSimpMessagingTemplate. | 
| Modifier and Type | Method and Description | 
|---|---|
| MessageHeaderInitializer | SubscriptionMethodReturnValueHandler. getHeaderInitializer()Return the configured header initializer. | 
| MessageHeaderInitializer | SimpAnnotationMethodMessageHandler. getHeaderInitializer()Return the configured header initializer. | 
| MessageHeaderInitializer | SendToMethodReturnValueHandler. getHeaderInitializer()Return the configured header initializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SubscriptionMethodReturnValueHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a  MessageHeaderInitializerto apply to the headers of all
 messages sent to the client outbound channel. | 
| void | SimpAnnotationMethodMessageHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a  MessageHeaderInitializerto pass on toHandlerMethodReturnValueHandlersthat send messages from controller return values. | 
| void | SendToMethodReturnValueHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a  MessageHeaderInitializerto apply to the headers of all
 messages sent to the client outbound channel. | 
| Modifier and Type | Method and Description | 
|---|---|
| MessageHeaderInitializer | SimpleBrokerMessageHandler. getHeaderInitializer()Return the configured header initializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SimpleBrokerMessageHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a  MessageHeaderInitializerto apply to the headers
 of all messages sent to the client outbound channel. | 
| Modifier and Type | Method and Description | 
|---|---|
| MessageHeaderInitializer | StompDecoder. getHeaderInitializer()Return the configured  MessageHeaderInitializer, if any. | 
| MessageHeaderInitializer | StompBrokerRelayMessageHandler. getHeaderInitializer()Return the configured header initializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | StompDecoder. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a  MessageHeaderInitializerto apply to the headers ofMessagesfrom decoded STOMP frames. | 
| void | StompBrokerRelayMessageHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a  MessageHeaderInitializerto apply to the headers of all
 messages created through theStompBrokerRelayMessageHandlerthat
 are sent to the client outbound message channel. | 
| Modifier and Type | Method and Description | 
|---|---|
| MessageHeaderInitializer | UserDestinationMessageHandler. getHeaderInitializer()Return the configured header initializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | UserDestinationMessageHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a custom  MessageHeaderInitializerto initialize the
 headers of resolved target messages. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | IdTimestampMessageHeaderInitializerA  MessageHeaderInitializerto customize the strategy for ID and TIMESTAMP message header generation. | 
| Modifier and Type | Method and Description | 
|---|---|
| MessageHeaderInitializer | StompSubProtocolHandler. getHeaderInitializer()Return the configured header initializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | StompSubProtocolHandler. setHeaderInitializer(MessageHeaderInitializer headerInitializer)Configure a  MessageHeaderInitializerto apply to the headers of all
 messages created from decoded STOMP frames and other messages sent to the
 client inbound channel. |