public abstract class ExpressionMessageProducerSupport extends MessageProducerSupport
MessageProducerSupport sub-class that provides payloadExpression
evaluation with result as a payload for Message to send.lifecycleCondition, lifecycleLockEXPRESSION_PARSER, logger| 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)
Deprecated.
|
void |
setIntegrationEvaluationContext(EvaluationContext evaluationContext) |
void |
setPayloadExpression(Expression payloadExpression) |
void |
setPayloadExpressionString(String payloadExpression) |
afterSingletonsInstantiated, buildErrorMessage, doStart, doStop, getErrorChannel, getErrorMessageAttributes, getMessagingTemplate, getOutputChannel, sendErrorMessageIfNecessary, sendMessage, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setOutputChannel, setOutputChannelName, setSendTimeout, setShouldTrackdoStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentName, getComponentTypepublic void setPayloadExpression(Expression payloadExpression)
payloadExpression - the expression to use.public void setPayloadExpressionString(String payloadExpression)
payloadExpression - the String in SpEL syntax.@Deprecated public void setExpressionPayload(Expression payloadExpression)
setPayloadExpression(org.springframework.expression.Expression).payloadExpression - the expression to set.public void setIntegrationEvaluationContext(EvaluationContext evaluationContext)
protected void onInit()
IntegrationObjectSupportonInit in class MessageProducerSupport