Class AbstractMessageChannel.ChannelInterceptorChain
java.lang.Object
org.springframework.messaging.support.AbstractMessageChannel.ChannelInterceptorChain
- Enclosing class:
- AbstractMessageChannel
Assists with the invocation of the configured channel interceptors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMessage<?>
applyPostReceive
(Message<?> message, MessageChannel channel) void
applyPostSend
(Message<?> message, MessageChannel channel, boolean sent) boolean
applyPreReceive
(MessageChannel channel) Message<?>
applyPreSend
(Message<?> message, MessageChannel channel) void
triggerAfterReceiveCompletion
(Message<?> message, MessageChannel channel, Exception ex) void
triggerAfterSendCompletion
(Message<?> message, MessageChannel channel, boolean sent, Exception ex)
-
Constructor Details
-
ChannelInterceptorChain
protected ChannelInterceptorChain()
-
-
Method Details
-
applyPreSend
-
applyPostSend
-
triggerAfterSendCompletion
public void triggerAfterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, @Nullable Exception ex) -
applyPreReceive
-
applyPostReceive
-
triggerAfterReceiveCompletion
public void triggerAfterReceiveCompletion(@Nullable Message<?> message, MessageChannel channel, @Nullable Exception ex)
-