Search in sources :

Example 1 with ExpressionEvaluatingTransformer

use of org.springframework.integration.transformer.ExpressionEvaluatingTransformer in project spring-integration by spring-projects.

the class TransformerFactoryBean method createExpressionEvaluatingHandler.

@Override
protected MessageHandler createExpressionEvaluatingHandler(Expression expression) {
    Transformer transformer = new ExpressionEvaluatingTransformer(expression);
    MessageTransformingHandler handler = this.createHandler(transformer);
    handler.setPrimaryExpression(expression);
    return handler;
}
Also used : ExpressionEvaluatingTransformer(org.springframework.integration.transformer.ExpressionEvaluatingTransformer) MessageTransformingHandler(org.springframework.integration.transformer.MessageTransformingHandler) ExpressionEvaluatingTransformer(org.springframework.integration.transformer.ExpressionEvaluatingTransformer) MethodInvokingTransformer(org.springframework.integration.transformer.MethodInvokingTransformer) Transformer(org.springframework.integration.transformer.Transformer)

Aggregations

ExpressionEvaluatingTransformer (org.springframework.integration.transformer.ExpressionEvaluatingTransformer)1 MessageTransformingHandler (org.springframework.integration.transformer.MessageTransformingHandler)1 MethodInvokingTransformer (org.springframework.integration.transformer.MethodInvokingTransformer)1 Transformer (org.springframework.integration.transformer.Transformer)1