public abstract class AbstractMessageSource<T> extends AbstractExpressionEvaluator implements MessageSource<T>
Constructor and Description |
---|
AbstractMessageSource() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Object |
doReceive()
Subclasses must implement this method.
|
Message<T> |
receive()
Retrieve the next available message from this source.
|
void |
setHeaderExpressions(java.util.Map<java.lang.String,org.springframework.expression.Expression> headerExpressions) |
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, getEvaluationContext, setBeanFactory, setConversionService
public void setHeaderExpressions(java.util.Map<java.lang.String,org.springframework.expression.Expression> headerExpressions)
public final Message<T> receive()
MessageSource
null
if no message is available.receive
in interface MessageSource<T>
protected abstract java.lang.Object doReceive()