public abstract class ExpressionMessageProducerSupport extends MessageProducerSupport implements IntegrationEvaluationContextAware
MessageProducerSupport sub-class that provides payloadExpression
evaluation with result as a payload for Message to send.lifecycleCondition, lifecycleLocklogger| Constructor and Description |
|---|
ExpressionMessageProducerSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
evaluatePayloadExpression(Object payload) |
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext) |
void |
setPayloadExpression(String payloadExpression) |
doStart, doStop, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrackgetPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentName, getComponentTypepublic void setPayloadExpression(String payloadExpression)
public void setIntegrationEvaluationContext(EvaluationContext evaluationContext)
setIntegrationEvaluationContext in interface IntegrationEvaluationContextAwareprotected void onInit()
IntegrationObjectSupportonInit in class MessageProducerSupport