How do I create a tcp-inbound-gateway which detects connection loss and auto-reconnects?
问题 I'm trying to configure a set of spring-integration components to consume data from a TCP socket. The basic protocol is that upon opening the connection I am prompted for my username, then password, then if authentication succeeds data is streamed to me as it becomes available. A ping message is sent to me every 30 seconds so that I can verify that the connection is alive during quiet periods when no data is streaming. Per the spring-integration docs I have set up a TCP Gateway. http://docs