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