Spring Integration

org.springframework.integration.endpoint
Class ExpressionEvaluatingMessageSource<T>

java.lang.Object
  extended by org.springframework.integration.util.AbstractExpressionEvaluator
      extended by org.springframework.integration.endpoint.AbstractMessageSource<T>
          extended by org.springframework.integration.endpoint.ExpressionEvaluatingMessageSource<T>
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, MessageSource<T>

public class ExpressionEvaluatingMessageSource<T>
extends AbstractMessageSource<T>

Since:
2.0
Author:
Mark Fisher

Constructor Summary
ExpressionEvaluatingMessageSource(org.springframework.expression.Expression expression, java.lang.Class<T> expectedType)
           
 
Method Summary
 T doReceive()
          Subclasses must implement this method.
 
Methods inherited from class org.springframework.integration.endpoint.AbstractMessageSource
receive, setHeaderExpressions
 
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

ExpressionEvaluatingMessageSource

public ExpressionEvaluatingMessageSource(org.springframework.expression.Expression expression,
                                         java.lang.Class<T> expectedType)
Method Detail

doReceive

public T doReceive()
Description copied from class: AbstractMessageSource
Subclasses must implement this method. Typically the returned value will be the payload of type T, but the returned value may also be a Message instance whose payload is of type T.

Specified by:
doReceive in class AbstractMessageSource<T>

Spring Integration