public abstract class ExpressionMessageProducerSupport extends MessageProducerSupport
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 |
setExpressionPayload(Expression payloadExpression)
Temporary, will be changed to
setPayloadExpression(java.lang.String) in a future release. |
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext) |
void |
setPayloadExpression(String payloadExpression)
Deprecated.
in favor of
setExpressionPayload(org.springframework.expression.Expression). Will be changed in a future release
to use an Expression parameter. |
doStart, doStop, getMessagingTemplate, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrackdoStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentName, getComponentType@Deprecated public void setPayloadExpression(String payloadExpression)
setExpressionPayload(org.springframework.expression.Expression). Will be changed in a future release
to use an Expression parameter.payloadExpression - the expression to set.public void setExpressionPayload(Expression payloadExpression)
setPayloadExpression(java.lang.String) in a future release.payloadExpression - the expression to set.public void setIntegrationEvaluationContext(EvaluationContext evaluationContext)
protected void onInit()
IntegrationObjectSupportonInit in class MessageProducerSupport