You can add an explicit conversion to your route
to("netty...")
convertBodyTo(String.class)
to("log:...")
On Wed, Nov 26, 2014 at 5:37 PM, bwest wrote:
> Hi Claus,
>
> This is the what my route currently looks like:
>
> from("direct:sendAuthMessage")
> .log("Logging Incom
Hi Claus,
This is the what my route currently looks like:
from("direct:sendAuthMessage")
.log("Logging Incoming message -->" + "${body}")
.setBody(simple("${body}", String.class))
.to("netty:tcp://10.98.1.41:1100?clientPipelineFa
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
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 r