Hi It depends on the codec you use for netty. I think it may for some odd reason be a java seriazlization codec as that was the default with the mina component, and we wanted netty to be similar.
If you use textline=true then its a text based message etc. On Wed, Nov 26, 2014 at 4:50 PM, bwest <[email protected]> wrote: > Hello, > > I've made some progress with the original question. I appears that I am > receiving a response as expected. However, the response isn't in the body. > So when i do a .log("Message: ${body}) in the route, it comes back blank. > > Although in my unit tests the following statement returns the response in > the String as expected. > > String response = (String) template.requestBody("direct:accessAuth", new > String(Files.readAllBytes(Paths.get(getClass().getResource("/requests/raw.txt").toURI())))); > > > What am I missing? I've started to look into the stream caching, tho i'm > not sure if this is the right direction. > > ANY ideas are appreciated! > > Thanks! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-netty-no-response-received-from-remote-server-tp5759592p5759650.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
