Interface MessagePostProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A contract for processing a
Message
after it has been created, either
returning a modified (effectively new) message or returning the same.- Since:
- 4.0
- Author:
- Mark Fisher, Rossen Stoyanchev
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionMessage<?>
postProcessMessage
(Message<?> message) Process the given message.
-
Method Details
-
postProcessMessage
Process the given message.- Parameters:
message
- the message to process- Returns:
- a post-processed variant of the message, or simply the incoming
message; never
null
-