|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.channel.interceptor.ChannelInterceptorAdapter org.springframework.integration.channel.interceptor.MessageSelectingInterceptor
public class MessageSelectingInterceptor
A ChannelInterceptor
that
delegates to a list of MessageSelectors
to decide
whether a Message
should be accepted on the MessageChannel
.
Constructor Summary | |
---|---|
MessageSelectingInterceptor(MessageSelector... selectors)
|
Method Summary | |
---|---|
Message<?> |
preSend(Message<?> message,
MessageChannel channel)
Invoked before the Message is actually sent to the channel. |
Methods inherited from class org.springframework.integration.channel.interceptor.ChannelInterceptorAdapter |
---|
postReceive, postSend, preReceive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageSelectingInterceptor(MessageSelector... selectors)
Method Detail |
---|
public Message<?> preSend(Message<?> message, MessageChannel channel)
ChannelInterceptor
null
, then the actual
send invocation will not occur.
preSend
in interface ChannelInterceptor
preSend
in class ChannelInterceptorAdapter
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |