Class AbstractMessageChannel.ChannelInterceptorList
java.lang.Object
org.springframework.integration.channel.AbstractMessageChannel.ChannelInterceptorList
- Enclosing class:
- AbstractMessageChannel
protected static class AbstractMessageChannel.ChannelInterceptorList extends Object
A convenience wrapper class for the list of ChannelInterceptors.
-
Field Summary
Fields Modifier and Type Field Description protected List<ChannelInterceptor>interceptors -
Constructor Summary
Constructors Constructor Description ChannelInterceptorList(LogAccessor logger) -
Method Summary
Modifier and Type Method Description voidadd(int index, ChannelInterceptor interceptor)booleanadd(ChannelInterceptor interceptor)voidafterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex, Deque<ChannelInterceptor> interceptorStack)voidafterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, Exception ex, Deque<ChannelInterceptor> interceptorStack)List<ChannelInterceptor>getInterceptors()intgetSize()Message<?>postReceive(Message<?> messageArg, MessageChannel channel)voidpostSend(Message<?> message, MessageChannel channel, boolean sent)booleanpreReceive(MessageChannel channel, Deque<ChannelInterceptor> interceptorStack)Message<?>preSend(Message<?> messageArg, MessageChannel channel, Deque<ChannelInterceptor> interceptorStack)ChannelInterceptorremove(int index)booleanremove(ChannelInterceptor interceptor)booleanset(List<ChannelInterceptor> interceptors)
-
Field Details
-
Constructor Details
-
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
-