Class AbstractMessageChannel.ChannelInterceptorList
java.lang.Object
org.springframework.integration.channel.AbstractMessageChannel.ChannelInterceptorList
- Enclosing class:
- AbstractMessageChannel
A convenience wrapper class for the list of ChannelInterceptors.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, ChannelInterceptor interceptor) boolean
add
(ChannelInterceptor interceptor) void
afterReceiveCompletion
(Message<?> message, MessageChannel channel, Exception ex, Deque<ChannelInterceptor> interceptorStack) void
afterSendCompletion
(Message<?> message, MessageChannel channel, boolean sent, Exception ex, Deque<ChannelInterceptor> interceptorStack) int
getSize()
Message<?>
postReceive
(Message<?> messageArg, MessageChannel channel) void
postSend
(Message<?> message, MessageChannel channel, boolean sent) boolean
preReceive
(MessageChannel channel, Deque<ChannelInterceptor> interceptorStack) Message<?>
preSend
(Message<?> messageArg, MessageChannel channel, Deque<ChannelInterceptor> interceptorStack) remove
(int index) boolean
remove
(ChannelInterceptor interceptor) boolean
set
(List<ChannelInterceptor> interceptors)
-
Field Details
-
interceptors
-
-
Constructor Details
-
ChannelInterceptorList
-
-
Method Details
-
set
-
getSize
public int getSize() -
add
-
add
-
preSend
@Nullable public Message<?> preSend(Message<?> messageArg, MessageChannel channel, Deque<ChannelInterceptor> interceptorStack) -
postSend
-
afterSendCompletion
public void afterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, @Nullable Exception ex, Deque<ChannelInterceptor> interceptorStack) -
preReceive
-
postReceive
-
afterReceiveCompletion
public void afterReceiveCompletion(@Nullable Message<?> message, MessageChannel channel, @Nullable Exception ex, @Nullable Deque<ChannelInterceptor> interceptorStack) -
getInterceptors
-
remove
-
remove
-