Merge branch '5.2.x'
This commit is contained in:
@@ -28,13 +28,14 @@ import org.springframework.messaging.Message;
|
||||
* @see MessageSendingOperations
|
||||
* @see MessageRequestReplyOperations
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface MessagePostProcessor {
|
||||
|
||||
/**
|
||||
* Process the given message.
|
||||
* @param message the message to process
|
||||
* @return a post-processed variant of the message,
|
||||
* or simply the incoming message; never {@code null}
|
||||
* @return a post-processed variant of the message, or simply the incoming
|
||||
* message; never {@code null}
|
||||
*/
|
||||
Message<?> postProcessMessage(Message<?> message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user