List of usage examples for org.springframework.integration.gateway GatewayProxyFactoryBean setServiceInterface
public void setServiceInterface(Class<?> serviceInterface)
From source file:com.acmemotors.batch.LoaderJobConfiguration.java
@Bean public GatewayProxyFactoryBean gatewayProxyFactoryBean() { GatewayProxyFactoryBean gatewayProxyFactoryBean = new GatewayProxyFactoryBean(); gatewayProxyFactoryBean.setServiceInterface(RequestGateway.class); gatewayProxyFactoryBean.setDefaultRequestChannel(requestChannel()); gatewayProxyFactoryBean.setDefaultReplyTimeout(5000l); return gatewayProxyFactoryBean; }