ChannelInterceptor with callbacks to intercept the
asynchronous sending of a org.springframework.messaging.Message to
a specific subscriber through an java.util.concurrent.Executor .
Supported on org.springframework.messaging.MessageChannel
implementations that can be configured with an Executor.
Message, MessageChannel, MessageHandler
| Modifier and Type | Method and Description |
|---|---|
| public default void | afterMessageHandled(Message<?>
the message handled message, MessageChannel the channel on which the message was sent to channel, MessageHandler the target handler that handled the message handler, Exception any exception that may have been raised by the handler ex)Invoked inside the |
| public default Message | Returns: the input message, or a new instance, ornullthe message to be handled message, MessageChannel the channel on which the message was sent to channel, MessageHandler the target handler to handle the message handler)Invoked inside the |
| afterMessageHandled | back to summary |
|---|---|
| public default void afterMessageHandled(Message<?> message, MessageChannel channel, MessageHandler handler, Exception ex) Invoked inside the Note that this will be invoked only if beforeHandle successfully completed
and returned a Message, i.e. it did not return
| |
| beforeHandle | back to summary |
|---|---|
| public default Message Invoked inside the
| |