public class MessageSelectingInterceptor extends ChannelInterceptorAdapter
ChannelInterceptor that
delegates to a list of MessageSelectors to decide
whether a Message should be accepted on the MessageChannel.| Constructor and Description |
|---|
MessageSelectingInterceptor(MessageSelector... selectors) |
| Modifier and Type | Method and Description |
|---|---|
Message<?> |
preSend(Message<?> message,
MessageChannel channel) |
afterReceiveCompletion, afterSendCompletion, postReceive, postSend, preReceivepublic MessageSelectingInterceptor(MessageSelector... selectors)
public Message<?> preSend(Message<?> message, MessageChannel channel)
preSend in interface ChannelInterceptorpreSend in class ChannelInterceptorAdapter