public interface MessageSelector
MessageSlector's purpose is to decide whether a MessageListener shall be
informed about a given message or not. This decision is made within the matches(Message)
method.| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Message msg)
Decides whether the given message meets the selection criteria of this message selector
instance.
|
boolean matches(Message msg)
msg - the message to decide upontrue, if the configured selection rules accept the message, false otherwise