camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin <>
Subject Performance impact of using streamCache="true" in a route
Date Wed, 06 Nov 2013 18:17:03 GMT
Hi Folks,

I'm using the CXFRS component in my route. I parse the response from a
webservice to extract 2 elements. I extracted the first element successfully
however, I receive a SAXParseException - premature end of file when an
attempt is made to extract the 2nd element. 

After reading online, I found that the response input stream can only be
read once and in order to read from it multiple times I should set
streamCache=true at the route level.

I'm wondering does this approach have much of an impact on performance?

Any thoughts are much appreciated.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message