Merge branch '5.2.x'

This commit is contained in:
Sam Brannen
2020-08-10 11:36:19 +02:00
2 changed files with 14 additions and 10 deletions

View File

@@ -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);