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:
BeanFactoryAware, MessageListProcessor, ReleaseStrategy

public class ExpressionEvaluatingReleaseStrategy
extends ExpressionEvaluatingMessageListProcessor
implements ReleaseStrategy

A ReleaseStrategy that evaluates an expression.

Author:
Dave Syer

Constructor Summary
ExpressionEvaluatingReleaseStrategy(String expression)
           
 
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 org.springframework.integration.aggregator.ExpressionEvaluatingMessageListProcessor
process, setExpectedType
 
Methods inherited from class org.springframework.integration.util.AbstractExpressionEvaluator
evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, setBeanFactory, setConversionService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionEvaluatingReleaseStrategy

public ExpressionEvaluatingReleaseStrategy(String expression)
Method Detail

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

Spring Integration

Copyright © 2010. All Rights Reserved.