Class MessageSelectingInterceptor
java.lang.Object
org.springframework.integration.channel.interceptor.MessageSelectingInterceptor
- All Implemented Interfaces:
ChannelInterceptor
public class MessageSelectingInterceptor extends Object implements ChannelInterceptor
A
ChannelInterceptor
that
delegates to a list of MessageSelectors
to decide
whether a Message
should be accepted on the MessageChannel
.- Author:
- Mark Fisher, Gary Russell
-
Constructor Summary
Constructors Constructor Description MessageSelectingInterceptor(MessageSelector... selectors)
-
Method Summary
Modifier and Type Method Description Message<?>
preSend(Message<?> message, MessageChannel channel)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.messaging.support.ChannelInterceptor
afterReceiveCompletion, afterSendCompletion, postReceive, postSend, preReceive
-
Constructor Details
-
Method Details
-
preSend
- Specified by:
preSend
in interfaceChannelInterceptor
-