Package org.citrusframework.message
Class MessageSelector.AllAcceptingMessageSelector
java.lang.Object
org.citrusframework.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 org.citrusframework.message.MessageSelector
MessageSelector.AllAcceptingMessageSelector, MessageSelector.MessageSelectorFactory -
Field Summary
Fields inherited from interface org.citrusframework.message.MessageSelector
factories, logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AllAcceptingMessageSelector
public AllAcceptingMessageSelector()
-
-
Method Details
-
accept
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- Parameters:
message- the message to check- Returns:
- true if the message will be accepted, false otherwise.
-