public class AllMessageSelector extends java.lang.Object implements MessageSelector
| Modifier and Type | Field and Description |
|---|---|
static MessageSelector |
INSTANCE
A singleton instance of this class.
|
| Constructor and Description |
|---|
AllMessageSelector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Message msg)
Always returns
true regardless of the type or contents of the given message. |
public static final MessageSelector INSTANCE
public boolean matches(Message msg)
true regardless of the type or contents of the given message.matches in interface MessageSelectormsg - the message to decide upontrue, if the configured selection rules accept the message, false otherwise