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) |
postReceive, postSend, preReceive
public MessageSelectingInterceptor(MessageSelector... selectors)
public Message<?> preSend(Message<?> message, MessageChannel channel)
preSend
in interface ChannelInterceptor
preSend
in class ChannelInterceptorAdapter