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 void
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)
List<ChannelInterceptor>
getInterceptors()
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)
ChannelInterceptor
remove(int index)
boolean
remove(ChannelInterceptor interceptor)
boolean
set(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
-