public class MessageSelectingInterceptor
extends java.lang.Object
implements org.springframework.messaging.support.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 |
---|---|
org.springframework.messaging.Message<?> |
preSend(org.springframework.messaging.Message<?> message,
org.springframework.messaging.MessageChannel channel) |
public MessageSelectingInterceptor(MessageSelector... selectors)