0
回答
mule 求教。。。
【腾讯云】校园拼团福利,1核2G服务器10元/月!>>>   
<tcp:connector name="TcpConnector" keepSendSocketOpen="true"  keepAlive="false"  receiveBacklog="6"  >   
<tcp:custom-protocol class="CustomByteProtocol"/>  
    </tcp:connector>
     <tcp:connector name="TcpConnectorD" keepSendSocketOpen="true" receiveBacklog="6"  keepAlive="false"  clientSoTimeout="3000">  
         <tcp:direct-protocol payloadOnly="true"   rethrowExceptionOnRead="true"/>    
    </tcp:connector>  
<model>
     <service name ="tcpservice_police_car">
                          <inbound>
        <inbound-endpoint address="tcp://0.0.0.0:10101" connector-ref="TcpConnector"  exchange-pattern="request-response"/>
             </inbound>
         <outbound>
    <pass-through-router>
            <outbound-endpoint address="tcp://ip:10106"  connector-ref="TcpConnectorD"    exchange-pattern="request-response" > 
   </outbound-endpoint>
    </pass-through-router>
    </outbound>
      </service>
 </model> 
问题是  我用网络调试助手连接  10101 端口, 成功建立连接, 向10106发送数据, 10106已成功返回循环数据,  现在网络调试助手关闭连接, 10106服务器与mule 的连接并没有断开,一直在发送数据,请问有接触过类似的问题吗,请指教。。。。。
举报
ruichen
发帖于6年前 0回/949阅
顶部