Spring Integration

org.springframework.integration.aggregator
Class ExpressionEvaluatingReleaseStrategy

java.lang.Object
  extended by org.springframework.integration.util.AbstractExpressionEvaluator
      extended by org.springframework.integration.aggregator.ExpressionEvaluatingMessageListProcessor
          extended by org.springframework.integration.aggregator.ExpressionEvaluatingReleaseStrategy
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, MessageListProcessor, ReleaseStrategy

public class ExpressionEvaluatingReleaseStrategy
extends ExpressionEvaluatingMessageListProcessor
implements ReleaseStrategy

A ReleaseStrategy that evaluates an expression.

Author:
Dave Syer

Constructor Summary
ExpressionEvaluatingReleaseStrategy(java.lang.String expression)
           
 
Method Summary
 boolean canRelease(MessageGroup messages)
          Evaluate the expression provided on the messages (a collection) in the group and return the result (must be boolean).
 
Methods inherited from class org.springframework.integration.aggregator.ExpressionEvaluatingMessageListProcessor
process, setExpectedType
 
Methods inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, setBeanFactory, setBeanResolver, setConversionService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionEvaluatingReleaseStrategy

public ExpressionEvaluatingReleaseStrategy(java.lang.String expression)
Method Detail

canRelease

public boolean canRelease(MessageGroup messages)
Evaluate the expression provided on the messages (a collection) in the group and return the result (must be boolean).

Specified by:
canRelease in interface ReleaseStrategy

Spring Integration