List of usage examples for org.springframework.integration.router MethodInvokingRouter MethodInvokingRouter
public MethodInvokingRouter(Object object, String methodName)
From source file:org.springframework.integration.config.RouterFactoryBean.java
private AbstractMappingMessageRouter createMethodInvokingRouter(Object targetObject, String targetMethodName) { MethodInvokingRouter router = (StringUtils.hasText(targetMethodName)) ? new MethodInvokingRouter(targetObject, targetMethodName) : new MethodInvokingRouter(targetObject); return router; }