Package com.consol.citrus.message
Class MessageSelector.AllAcceptingMessageSelector
- java.lang.Object
-
- com.consol.citrus.message.MessageSelector.AllAcceptingMessageSelector
-
- All Implemented Interfaces:
MessageSelector
- Enclosing interface:
- MessageSelector
public static final class MessageSelector.AllAcceptingMessageSelector extends Object implements MessageSelector
Special message selector accepts all messages on queue.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.consol.citrus.message.MessageSelector
MessageSelector.AllAcceptingMessageSelector, MessageSelector.MessageSelectorFactory
-
-
Field Summary
-
Fields inherited from interface com.consol.citrus.message.MessageSelector
factories, LOG, RESOURCE_PATH, TYPE_RESOLVER
-
-
Constructor Summary
Constructors Constructor Description AllAcceptingMessageSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Message message)Checks weather this selector should accept given message or not.
-
-
-
Method Detail
-
accept
public boolean accept(Message message)
Description copied from interface:MessageSelectorChecks weather this selector should accept given message or not. When accepting the message the selective consumer is provided with the message otherwise the message is skipped for this consumer.- Specified by:
acceptin interfaceMessageSelector- Returns:
- true to accept the message, false to decline.
-
-