Reputation: 164
I'm trying to connect my existing Spring MVC application with Spring integration but I can't find how to send a TCP message to an specific client.
I have lot of devices connected to my server over TCP and I'm using DirectChannel to get them connected.
Is there any way to specify the client who will receive the message when I call SimpleGatewy.send()?
Thanks.
Upvotes: 1
Views: 253
Reputation: 174494
See the tcp-client-server sample which uses a gateway - this can be invoked from any code, including a controller.
Upvotes: 0