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
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)