Class ExpressionEvaluatingSelector
java.lang.Object
org.springframework.integration.filter.AbstractMessageProcessingSelector
org.springframework.integration.filter.ExpressionEvaluatingSelector
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,Lifecycle
,GenericSelector<Message<?>>
,MessageSelector
,ManageableLifecycle
public class ExpressionEvaluatingSelector extends AbstractMessageProcessingSelector
A
MessageSelector
implementation that
evaluates a SpEL expression. The evaluation result of the expression must be a boolean
value.- Since:
- 2.0
- Author:
- Mark Fisher, Liujiong, Gary Russell, Artem Bilan
-
Constructor Summary
Constructors Constructor Description ExpressionEvaluatingSelector(String expressionString)
ExpressionEvaluatingSelector(Expression expression)
-
Method Summary
Modifier and Type Method Description String
getExpressionString()
String
toString()
Methods inherited from class org.springframework.integration.filter.AbstractMessageProcessingSelector
accept, isRunning, setBeanFactory, setConversionService, start, stop
-
Constructor Details
-
Method Details