Class AbstractMessageSelector
- java.lang.Object
-
- com.consol.citrus.channel.selector.AbstractMessageSelector
-
- All Implemented Interfaces:
org.springframework.integration.core.GenericSelector<org.springframework.messaging.Message<?>>,org.springframework.integration.core.MessageSelector
- Direct Known Subclasses:
HeaderMatchingMessageSelector,JsonPathPayloadMessageSelector,PayloadMatchingMessageSelector,RootQNameMessageSelector,XpathPayloadMessageSelector
public abstract class AbstractMessageSelector extends Object implements org.springframework.integration.core.MessageSelector
- Since:
- 2.7.5
- Author:
- Christoph Deppisch
-
-
Field Summary
Fields Modifier and Type Field Description protected com.consol.citrus.context.TestContextcontextTest contextprotected StringmatchingValueprotected StringselectKeyKey and value to evaluate selection with
-
Constructor Summary
Constructors Constructor Description AbstractMessageSelector(String selectKey, String matchingValue, com.consol.citrus.context.TestContext context)Default constructor using fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanevaluate(String value)Evaluates given value to match this selectors matching condition.
-
-
-
Method Detail
-
evaluate
protected boolean evaluate(String value)
Evaluates given value to match this selectors matching condition. Automatically supports validation matcher expressions.- Parameters:
value-- Returns:
-
-