@FunctionalInterface public interface MessagePostProcessor
This often as an anonymous class within a method implementation.
| Modifier and Type | Method and Description |
|---|---|
Message |
postProcessMessage(Message message)
Change (or replace) the message.
|
default Message |
postProcessMessage(Message message,
Correlation correlation)
Change (or replace) the message and/or change its correlation data.
|
Message postProcessMessage(Message message) throws AmqpException
message - the message.AmqpException - an exception.default Message postProcessMessage(Message message, Correlation correlation)
message - the message.correlation - the correlation data.