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&amp;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.

Reply via email to