Search in sources :

Example 1 with ExpressionCommandMessageProcessor

use of org.springframework.integration.handler.ExpressionCommandMessageProcessor in project spring-integration by spring-projects.

the class ExpressionControlBusFactoryBean method createHandler.

@Override
protected MessageHandler createHandler() {
    ExpressionCommandMessageProcessor processor = new ExpressionCommandMessageProcessor(methodFilter, this.getBeanFactory());
    ServiceActivatingHandler handler = new ServiceActivatingHandler(processor);
    if (this.sendTimeout != null) {
        handler.setSendTimeout(this.sendTimeout);
    }
    return handler;
}
Also used : ExpressionCommandMessageProcessor(org.springframework.integration.handler.ExpressionCommandMessageProcessor) ServiceActivatingHandler(org.springframework.integration.handler.ServiceActivatingHandler)

Aggregations

ExpressionCommandMessageProcessor (org.springframework.integration.handler.ExpressionCommandMessageProcessor)1 ServiceActivatingHandler (org.springframework.integration.handler.ServiceActivatingHandler)1