Class ExpressionCommandMessageProcessor
java.lang.Object
org.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.handler.AbstractMessageProcessor<Object>
org.springframework.integration.handler.ExpressionCommandMessageProcessor
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- InitializingBean,- MessageProcessor<Object>,- IntegrationPattern
@Deprecated(since="6.4",
            forRemoval=true)
public class ExpressionCommandMessageProcessor
extends AbstractMessageProcessor<Object>
implements IntegrationPattern
Deprecated, for removal: This API element is subject to removal in a future version.
A MessageProcessor implementation that expects an Expression or expressionString
 as the Message payload. When processing, it simply evaluates that expression.
- Since:
- 2.0
- Author:
- Dave Syer, Mark Fisher, Gary Russell, Artem Bilan, Ngoc Nhan
- 
Field SummaryFields inherited from class org.springframework.integration.util.AbstractExpressionEvaluatorEXPRESSION_PARSER, logger
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.ExpressionCommandMessageProcessor(MethodFilter methodFilter) Deprecated, for removal: This API element is subject to removal in a future version.ExpressionCommandMessageProcessor(MethodFilter methodFilter, BeanFactory beanFactory) Deprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Return a pattern type this component implements.processMessage(Message<?> message) Deprecated, for removal: This API element is subject to removal in a future version.Evaluates the Message payload expression as a command.final voidsetBeanFactory(BeanFactory beanFactory) Deprecated, for removal: This API element is subject to removal in a future version.Specify a BeanFactory in order to enable resolution via@beanNamein the expression.Methods inherited from class org.springframework.integration.util.AbstractExpressionEvaluatorafterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, onInit, setConversionService, setSimpleEvaluationContext
- 
Constructor Details- 
ExpressionCommandMessageProcessorpublic ExpressionCommandMessageProcessor()Deprecated, for removal: This API element is subject to removal in a future version.
- 
ExpressionCommandMessageProcessorDeprecated, for removal: This API element is subject to removal in a future version.
- 
ExpressionCommandMessageProcessorpublic ExpressionCommandMessageProcessor(@Nullable MethodFilter methodFilter, @Nullable BeanFactory beanFactory) Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
setBeanFactoryDeprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractExpressionEvaluatorSpecify a BeanFactory in order to enable resolution via@beanNamein the expression.- Specified by:
- setBeanFactoryin interface- BeanFactoryAware
- Overrides:
- setBeanFactoryin class- AbstractExpressionEvaluator
 
- 
getIntegrationPatternTypeDeprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:IntegrationPatternReturn a pattern type this component implements.- Specified by:
- getIntegrationPatternTypein interface- IntegrationPattern
- Returns:
- the IntegrationPatternTypethis component implements.
 
- 
processMessageDeprecated, for removal: This API element is subject to removal in a future version.Evaluates the Message payload expression as a command.- Specified by:
- processMessagein interface- MessageProcessor<Object>
- Specified by:
- processMessagein class- AbstractMessageProcessor<Object>
- Parameters:
- message- The message to process.
- Returns:
- The result.
- Throws:
- IllegalArgumentException- if the payload is not an Exception or String
 
 
- 
ControlBusMessageProcessor