Hi
See these links also
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html
http://camel.apache.org/pipes-and-filters.html
http://camel.apache.org/how-do-i-enable-streams-when-debug-logging-messages-in-camel.html
http://camel.apache.org/stream-caching.html
On Fri, Oct 26, 2012
Thanks for those explanation.
Everything is clear and works now.
Regards,
Cyril Lakech
2012/10/28 Christian Mueller [via Camel] <
ml-node+s465427n5721655...@n5.nabble.com>
> Or convert the body into a String before you log and further process it.
> And the response of the http4 call is in the
Or convert the body into a String before you log and further process it.
And the response of the http4 call is in the in message in your processor,
because the Camel pipeline already copied the out message into the in
message for the next processor which is your processor which logs the
message.
B
Hi
You should enable stream caching[1] if you want to read a stream more than once.
[1] http://camel.apache.org/stream-caching.html
Taariq
On 26 Oct 2012, at 18:34, clakech wrote:
> I find an answer to my question:
>
> to("http4://sample").convertBodyTo(String.class) WORKS FINE
>
> to("http4: