public class ExpressionEvaluatingReleaseStrategy extends AbstractExpressionEvaluator implements ReleaseStrategy
ReleaseStrategy
that evaluates an expression.EXPRESSION_PARSER, logger
Constructor and Description |
---|
ExpressionEvaluatingReleaseStrategy(Expression expression) |
ExpressionEvaluatingReleaseStrategy(String expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRelease(MessageGroup messages)
Evaluate the expression provided on the
MessageGroup
and return the result (must be boolean). |
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, onInit, setBeanFactory, setConversionService
public ExpressionEvaluatingReleaseStrategy(String expression)
public ExpressionEvaluatingReleaseStrategy(Expression expression)
public boolean canRelease(MessageGroup messages)
MessageGroup
and return the result (must be boolean).canRelease
in interface ReleaseStrategy