Package | Description |
---|---|
org.springframework.jms.support |
This package provides generic JMS support classes,
to be used by higher-level classes like JmsTemplate.
|
org.springframework.messaging.simp |
Generic support for Simple Messaging Protocols including protocols such as STOMP.
|
org.springframework.messaging.simp.stomp |
Generic support for simple messaging protocols (like STOMP).
|
org.springframework.messaging.support |
Provides implementations of
Message along with
a MessageBuilder and MessageHeaderAccessor for building and working with messages and
message headers, as well as various MessageChannel
implementations and channel interceptor support. |
Modifier and Type | Class and Description |
---|---|
class |
JmsMessageHeaderAccessor
A
MessageHeaderAccessor
implementation giving access to JMS-specific headers. |
Modifier and Type | Class and Description |
---|---|
class |
SimpMessageHeaderAccessor
A base class for working with message headers in simple messaging protocols that
support basic messaging patterns.
|
Modifier and Type | Method and Description |
---|---|
protected MessageHeaderAccessor |
SimpMessageHeaderAccessor.createAccessor(Message<?> message) |
Modifier and Type | Class and Description |
---|---|
class |
StompHeaderAccessor
A
MessageHeaderAccessor to use when creating a Message from
a decoded STOMP frame, or when encoding a Message to a STOMP frame. |
Modifier and Type | Method and Description |
---|---|
protected MessageHeaderAccessor |
StompHeaderAccessor.createAccessor(Message<?> message) |
Modifier and Type | Class and Description |
---|---|
class |
NativeMessageHeaderAccessor
An extension of
MessageHeaderAccessor that also stores and provides read/write
access to message headers from an external source -- e.g. |
Modifier and Type | Method and Description |
---|---|
static <T extends MessageHeaderAccessor> |
MessageHeaderAccessor.getAccessor(Message<?> message,
Class<T> requiredType)
Return the original
MessageHeaderAccessor used to create the headers
of the given Message , or null if that's not available or if
its type does not match the required type. |
static <T extends MessageHeaderAccessor> |
MessageHeaderAccessor.getAccessor(MessageHeaders messageHeaders,
Class<T> requiredType)
A variation of
getAccessor(org.springframework.messaging.Message, Class)
with a MessageHeaders instance instead of a Message . |
Modifier and Type | Method and Description |
---|---|
protected MessageHeaderAccessor |
MessageHeaderAccessor.createAccessor(Message<?> message)
Build a 'nested' accessor for the given message.
|
static MessageHeaderAccessor |
MessageHeaderAccessor.getMutableAccessor(Message<?> message)
Return a mutable
MessageHeaderAccessor for the given message attempting
to match the type of accessor used to create the message headers, or otherwise
wrapping the message with a MessageHeaderAccessor instance. |
Modifier and Type | Method and Description |
---|---|
void |
IdTimestampMessageHeaderInitializer.initHeaders(MessageHeaderAccessor headerAccessor) |
void |
MessageHeaderInitializer.initHeaders(MessageHeaderAccessor headerAccessor)
Initialize the given
MessageHeaderAccessor . |
MessageBuilder<T> |
MessageBuilder.setHeaders(MessageHeaderAccessor accessor)
Set the message headers to use by providing a
MessageHeaderAccessor . |