camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "amine.elamraoui" <elamraoui.am...@gmail.com>
Subject Camel netty issue when receiving response
Date Fri, 27 Sep 2013 16:42:09 GMT
Hi,

I'm new in camel approach, I route a message from a file to a netty
producer, then the response from the server is routed to another file ( the
response message is composed of lines )

from("file:C:\\request?noop=true")
                .convertBodyTo(String.class)
                .setExchangePattern(ExchangePattern.InOut)
                .setHeader(NettyConstants.NETTY_CLOSE_CHANNEL_WHEN_COMPLETE,
constant(false))
                .to("log:Socket response??showAll=true&multiline=true")
               
.to("netty:tcp://195.95.167.35:2037?textline=true&synchronous=true&ssl=true&sslContextParameters=#sslConf&sync=true&disconnect=true")
                .to("file:C:\\PM\\Certificate\\response\\");

But when i checked the output file , i discover that it dispatch only the
first line of the stream 
i guess it has something with the delimiter flag

thanks in advance 




--
View this message in context: http://camel.465427.n5.nabble.com/Camel-netty-issue-when-receiving-response-tp5740306.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message