List of usage examples for org.springframework.integration.ip.tcp TcpInboundGateway setReplyChannel
public void setReplyChannel(MessageChannel replyChannel)
From source file:org.openwms.common.comm.app.DriverConfig.java
@Bean
TcpInboundGateway inboundAdapter(AbstractConnectionFactory tcpConnectionFactory) {
TcpInboundGateway gate = new TcpInboundGateway();
gate.setConnectionFactory(tcpConnectionFactory);
gate.setRequestChannel(inboundChannel());
gate.setReplyChannel(enrichedOutboundChannel());
return gate;/*ww w. j a v a 2 s. c o m*/
}