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 Summary
Constructors Constructor Description ExpressionEvaluatingTransformer(Expression expression)
-
Method Summary
Methods inherited from class org.springframework.integration.transformer.AbstractMessageProcessingTransformer
getMessageBuilderFactory, isRunning, setBeanFactory, setNotPropagatedHeaders, start, stop, transform