Re: Unable to write JAVA object using netty TCP Producer

2023-05-22 Thread Rohan Emmanuel
hi, getting an error saying "No response received from remote server" when I use the "textline=true" option. even though the server is writing data on the socket. any config or option to be set to be able to read the response? org.apache.camel.CamelExchangeException: No response received from re

Re: Unable to write JAVA object using netty TCP Producer

2023-05-19 Thread Claus Ibsen
Hi You can look at some of the unit tests of camel-netty as some of them use text protocols. Also for text based protocols then just set textline=true, and end your string with a new-line to mark the end See the docs On Fri, May 19, 2023 at 2:00 PM Rohan Emmanuel wrote: > hi, > thanks for the

Re: Unable to write JAVA object using netty TCP Producer

2023-05-19 Thread Rohan Emmanuel
hi, thanks for the reply. currently on camel version 3.7.0. trying this out to get the hang of the netty TCP producer component. I have an existing server that can only listen on a TCP port. want to be able to send data to it over the socket. any pointers to existing samples would be appreciated. n

Re: Unable to write JAVA object using netty TCP Producer

2023-05-19 Thread Claus Ibsen
Hi What Camel version do you use? Also its bad practice to exchange data as Java objects. Then you have tight coupling and need to ensure class compatibility between client servers. There are other more accepted protocols to use today. On Fri, May 19, 2023 at 12:02 PM Rohan Emmanuel wrote: >

Unable to write JAVA object using netty TCP Producer

2023-05-19 Thread Rohan Emmanuel
hi, i have trying to create a route which will write a serialzable java object using netty TCP component. The camel route looks like this: but i am not able to read any data on the socket on my server side which is listening on 2944 port . in the log i am seeing the below message ;DEBUG;org.a