Example usage for org.springframework.integration.ip.tcp TcpInboundGateway setReplyChannel

List of usage examples for org.springframework.integration.ip.tcp TcpInboundGateway setReplyChannel

Introduction

In this page you can find the example usage for org.springframework.integration.ip.tcp TcpInboundGateway setReplyChannel.

Prototype

public void setReplyChannel(MessageChannel replyChannel) 

Source Link

Document

Set the reply channel.

Usage

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*/
}