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)
Invoked before the Message is actually sent to the channel.
|
postReceive, postSend, preReceivepublic MessageSelectingInterceptor(MessageSelector... selectors)
public Message<?> preSend(Message<?> message, MessageChannel channel)
ChannelInterceptornull, then the actual
send invocation will not occur.preSend in interface ChannelInterceptorpreSend in class ChannelInterceptorAdapter