org.springframework.integration.channel
Interface ChannelInterceptor

All Known Implementing Classes:
ChannelInterceptorAdapter, MessageSelectingInterceptor, MessageTransformingChannelInterceptor, 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
 Message<?> postReceive(Message<?> message, MessageChannel channel)
           
 void postSend(Message<?> message, MessageChannel channel, boolean sent)
           
 boolean preReceive(MessageChannel channel)
           
 Message<?> preSend(Message<?> message, MessageChannel channel)
           
 

Method Detail

preSend

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

postSend

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

preReceive

boolean preReceive(MessageChannel channel)

postReceive

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