Please use [ code ] ... [ /code ] tags (no spaces inside brackets) when posting code or configuration.
If that is your entire configuration, I don't see how it can ever work, even with one connection.
You have 2 server connection connection factories. It looks like you want to have a client connect to 2 sockets, send a request on one and receive a reply on the other. You simply have your inbound adapter wired up directly to your outbound adapter. That is a very unusual configuration.
It won't work because the outbound adapter needs information to decide which socket to send the data on; since the inbound message didn't come from that connection factory, there is nothing in the message we can use to do that correlation.
Perhaps if you can describe your use case I can make some suggestions on how to configure things.
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware