Class ExpressionEvaluatingTransformer

java.lang.Object
org.springframework.integration.transformer.AbstractMessageProcessingTransformer
org.springframework.integration.transformer.ExpressionEvaluatingTransformer
All Implemented Interfaces:
Aware, BeanFactoryAware, Lifecycle, ManageableLifecycle, GenericTransformer<Message<?>,Message<?>>, Transformer

public class ExpressionEvaluatingTransformer extends AbstractMessageProcessingTransformer
A Message Transformer implementation that evaluates the specified SpEL expression. The result of evaluation will typically be considered as the payload of a new Message unless it is itself already a Message.
Since:
2.0
Author:
Mark Fisher
  • Constructor Details

    • ExpressionEvaluatingTransformer

      public ExpressionEvaluatingTransformer(Expression expression)