Open
Description
I'm trying to wrap my head around how to make the DynamicTcpClientApplication also give back the response data sent with:
@MessagingGateway(defaultRequestChannel = "toTcp.input")
public interface ToTCP {
public void send(String data, @Header("host") String host, @Header("port") int port);
}
Just changing from void to byte[] is not enough. What is needed to make sure a client can get the response from a tcp request back through the interface?
Activity
garyrussell commentedon Sep 18, 2020
Use gateways instead of channel adapters - see this commit garyrussell@901363d
Syrou commentedon Sep 23, 2020
Thanks, i'll be giving this a go in a week, i'll be getting back asap