public class ExpressionEvaluatingReleaseStrategy extends ExpressionEvaluatingMessageListProcessor implements ReleaseStrategy
ReleaseStrategy
that evaluates an expression.Constructor and Description |
---|
ExpressionEvaluatingReleaseStrategy(java.lang.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, setBeanFactory, setConversionService
public ExpressionEvaluatingReleaseStrategy(java.lang.String expression)
public boolean canRelease(MessageGroup messages)
canRelease
in interface ReleaseStrategy