org.springframework.integration.handler
Class ExpressionEvaluatingMessageProcessor

java.lang.Object
  extended by org.springframework.integration.handler.ExpressionEvaluatingMessageProcessor
All Implemented Interfaces:
MessageProcessor

public class ExpressionEvaluatingMessageProcessor
extends java.lang.Object
implements MessageProcessor

A MessageProcessor implementation that evaluates a SpEL expression with the Message itself as the root object within the evaluation context.

Since:
2.0
Author:
Mark Fisher

Constructor Summary
ExpressionEvaluatingMessageProcessor(java.lang.String expression)
           
 
Method Summary
 java.lang.Object processMessage(Message<?> message)
          Process the Message and return a value (or null).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionEvaluatingMessageProcessor

public ExpressionEvaluatingMessageProcessor(java.lang.String expression)
Method Detail

processMessage

public java.lang.Object processMessage(Message<?> message)
Description copied from interface: MessageProcessor
Process the Message and return a value (or null).

Specified by:
processMessage in interface MessageProcessor