public class ExpressionCommandMessageProcessor extends AbstractMessageProcessor<Object>
Constructor and Description |
---|
ExpressionCommandMessageProcessor() |
ExpressionCommandMessageProcessor(MethodFilter methodFilter) |
ExpressionCommandMessageProcessor(MethodFilter methodFilter,
BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
processMessage(Message<?> message)
Evaluates the Message payload expression as a command.
|
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService
public ExpressionCommandMessageProcessor()
public ExpressionCommandMessageProcessor(MethodFilter methodFilter)
public ExpressionCommandMessageProcessor(MethodFilter methodFilter, BeanFactory beanFactory)
public Object processMessage(Message<?> message)
processMessage
in interface MessageProcessor<Object>
processMessage
in class AbstractMessageProcessor<Object>
message
- The message to process.IllegalArgumentException
- if the payload is not an Exception or String