public abstract class ExpressionMessageProducerSupport extends MessageProducerSupport implements IntegrationEvaluationContextAware
MessageProducerSupport
sub-class that provides payloadExpression
evaluation with result as a payload for Message to send.logger
Constructor and Description |
---|
ExpressionMessageProducerSupport() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
evaluatePayloadExpression(java.lang.Object payload) |
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext) |
void |
setPayloadExpression(java.lang.String payloadExpression) |
doStart, doStop, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrack
getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName, getComponentType
public void setPayloadExpression(java.lang.String payloadExpression)
public void setIntegrationEvaluationContext(org.springframework.expression.EvaluationContext evaluationContext)
setIntegrationEvaluationContext
in interface IntegrationEvaluationContextAware
protected void onInit()
IntegrationObjectSupport
onInit
in class MessageProducerSupport
protected java.lang.Object evaluatePayloadExpression(java.lang.Object payload)