Interface InterceptableChannel
- All Known Implementing Classes:
 AbstractMessageChannel, AbstractSubscribableChannel, ExecutorSubscribableChannel
public interface InterceptableChannel
A 
MessageChannel that
maintains a list ChannelInterceptors and allows interception of message sending.- Since:
 - 4.1
 - Author:
 - Rossen Stoyanchev
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptor(int index, ChannelInterceptor interceptor) Add a channel interceptor at the specified index.voidaddInterceptor(ChannelInterceptor interceptor) Add a channel interceptor to the end of the list.Return the list of configured interceptors.removeInterceptor(int index) Remove the interceptor at the given index.booleanremoveInterceptor(ChannelInterceptor interceptor) Remove the given interceptor.voidsetInterceptors(List<ChannelInterceptor> interceptors) Set the list of channel interceptors clearing any existing interceptors. 
- 
Method Details
- 
setInterceptors
Set the list of channel interceptors clearing any existing interceptors. - 
addInterceptor
Add a channel interceptor to the end of the list. - 
addInterceptor
Add a channel interceptor at the specified index. - 
getInterceptors
List<ChannelInterceptor> getInterceptors()Return the list of configured interceptors. - 
removeInterceptor
Remove the given interceptor. - 
removeInterceptor
Remove the interceptor at the given index. 
 -