org.springframework.integration.channel
Interface ChannelInterceptor

All Known Implementing Classes:
ChannelInterceptorAdapter, DefaultErrorChannel.ErrorLoggingInterceptor, MessageSelectingInterceptor, MessageStoringInterceptor, MessageTransformingChannelInterceptor, SecurityContextPropagatingChannelInterceptor, SecurityEnforcingChannelInterceptor, WireTap

public interface ChannelInterceptor

Interface for interceptors that are able to view and/or modify the Messages being sent-to and/or received-from a MessageChannel.

Author:
Mark Fisher

Method Summary
 void postReceive(Message<?> message, MessageChannel channel)
           
 void postSend(Message<?> message, MessageChannel channel, boolean sent)
           
 boolean preReceive(MessageChannel channel)
           
 boolean preSend(Message<?> message, MessageChannel channel)
           
 

Method Detail

preSend

boolean preSend(Message<?> message,
                MessageChannel channel)

postSend

void postSend(Message<?> message,
              MessageChannel channel,
              boolean sent)

preReceive

boolean preReceive(MessageChannel channel)

postReceive

void postReceive(Message<?> message,
                 MessageChannel channel)