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