Top Description Methods
org.springframework.messaging.core

public Interface MessagePostProcessor

Annotations
@FunctionalInterface
Imports
org.springframework.messaging.Message

A contract for processing a Message after it has been created, either returning a modified (effectively new) message or returning the same.
Authors
Mark Fisher, Rossen Stoyanchev
Since
4.0
See Also
MessageSendingOperations, MessageRequestReplyOperations

Method Summary

Modifier and TypeMethod and Description
public Message<?>

Returns:

a post-processed variant of the message, or simply the incoming message; never null
postProcessMessage
(Message<?>
the message to process
message
)

Process the given message.

Method Detail

postProcessMessageback to summary
public Message<?> postProcessMessage(Message<?> message)

Process the given message.

Parameters
message:Message<?>

the message to process

Returns:Message<?>

a post-processed variant of the message, or simply the incoming message; never null