You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "calyan.bandi" <ca...@gmail.com> on 2015/09/23 16:07:41 UTC
Re: Processing response from REST service - cxfrs client component
Hi,
Option "streamCache" can be set on the route in order to capture and buffer
the received inputstream and not to close it. Just use the option as
specified below:
<route id="invokeMyRestService" streamCache="true">
...
...
<to uri="cxfrs:bean:restClient?synchronous=true&httpClientAPI=true" />
<log message="response received = ${body}" />
</route>
First time developers who are working with cxfrs component will find this
very annoying unless they are aware of this streaming feature provided by
camel. I can see that this has been well documented for jetty component but
not for cxfrs component.
Thanks,
Kalyan
--
View this message in context: http://camel.465427.n5.nabble.com/Processing-response-from-REST-service-cxfrs-client-component-tp5770935p5771868.html
Sent from the Camel - Users mailing list archive at Nabble.com.