public class ExpressionEvaluatingReleaseStrategy extends ExpressionEvaluatingMessageListProcessor implements ReleaseStrategy
ReleaseStrategy
that evaluates an expression.Constructor and Description |
---|
ExpressionEvaluatingReleaseStrategy(String expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRelease(MessageGroup messages)
Evaluate the expression provided on the messages (a collection) in the group and return the result (must
be boolean).
|
process, setExpectedType
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService
public ExpressionEvaluatingReleaseStrategy(String expression)
public boolean canRelease(MessageGroup messages)
canRelease
in interface ReleaseStrategy