我正在尝试创建一个TCP客户端以连接到远程TCP服务器并等待接收消息。到目前为止,我有以下代码:@EnableIntegration@IntegrationComponentScan@ConfigurationpublicclassTcpClientConfig{@BeanpublicTcpInboundGatewaytcpInbound(AbstractClientConnectionFactoryconnectionFactory){TcpInboundGatewaygate=newTcpInboundGateway();gate.setConnectionFactory(conn