@FunctionalInterface
public interface MessageFilter
MessageFilter filters what Messages a MessageChannel should process.
To use this interface, consider the following example.
MessageChannel messageChannel = new MessageChannel();
messageChannel.addMessageFilter(new MyMessageFilter());
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAccepted(Message message)
|