org.springframework.integration.aggregator
Class ExpressionEvaluatingReleaseStrategy
java.lang.Object
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.aggregator.ExpressionEvaluatingMessageListProcessor
org.springframework.integration.aggregator.ExpressionEvaluatingReleaseStrategy
- All Implemented Interfaces:
- BeanFactoryAware, MessageListProcessor, ReleaseStrategy
public class ExpressionEvaluatingReleaseStrategy
- extends ExpressionEvaluatingMessageListProcessor
- implements ReleaseStrategy
A ReleaseStrategy
that evaluates an expression.
- Author:
- Dave Syer
Method Summary |
boolean |
canRelease(MessageGroup messages)
Evaluate the expression provided on the unmarked messages (a collection) in the group and return the result (must
be boolean). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionEvaluatingReleaseStrategy
public ExpressionEvaluatingReleaseStrategy(String expression)
canRelease
public boolean canRelease(MessageGroup messages)
- Evaluate the expression provided on the unmarked messages (a collection) in the group and return the result (must
be boolean).
- Specified by:
canRelease
in interface ReleaseStrategy
Copyright © 2010. All Rights Reserved.