camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to send and read body in byte[] format.
Date Thu, 26 Jan 2017 12:01:34 GMT
You need to add a step after to mina, where you can work / log the response.

Or turn on DEBUG logging where mina may log a response.

On Tue, Jan 24, 2017 at 1:12 PM, santoshkeleti
<keleti.santhosh@gmail.com> wrote:
> Hi,
>
> I have a scenario that i need to send a request to TCP/IP port from camel
> and i need to read the response.
> i did like this,
>
> from("file:/home/santoshkeleti/Desktop/Camel/input?noop=true")
>                         .to("http://"+conncterURL+"iso/parse?isoMsg="+iso)
>                         .to("mina:tcp://192.168.1.68:9700?textline=true&sync=true")
>
> But  here i am able to send the request but unable to read the response .
> please help me.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-send-and-read-body-in-byte-format-tp5793031.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message