|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.util.AbstractExpressionEvaluator org.springframework.integration.handler.AbstractMessageProcessor<java.lang.Object> org.springframework.integration.handler.ExpressionCommandMessageProcessor
public class ExpressionCommandMessageProcessor
A MessageProcessor implementation that expects an Expression or expressionString as the Message payload. When processing, it simply evaluates that expression.
Constructor Summary | |
---|---|
ExpressionCommandMessageProcessor()
|
|
ExpressionCommandMessageProcessor(org.springframework.expression.MethodFilter methodFilter)
|
Method Summary | |
---|---|
java.lang.Object |
processMessage(Message<?> message)
Evaluates the Message payload expression as a command. |
Methods inherited from class org.springframework.integration.util.AbstractExpressionEvaluator |
---|
evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, setBeanFactory, setBeanResolver, setConversionService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionCommandMessageProcessor()
public ExpressionCommandMessageProcessor(org.springframework.expression.MethodFilter methodFilter)
Method Detail |
---|
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
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |