public class MessageSelectingInterceptor extends Object implements ChannelInterceptor
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterReceiveCompletion, afterSendCompletion, postReceive, postSend, preReceive
public MessageSelectingInterceptor(MessageSelector... selectors)
public Message<?> preSend(Message<?> message, MessageChannel channel)
preSend
in interface ChannelInterceptor