I am using camel-http to send HTTP Post notifications to a wide range of
endpoints which I don't control directly, sometimes the endpoints response
is quite big and due to the fact HttpProducer is caching the response stream
temporary files are being written to disk.

I can set the caching threshold to a higher value and therefore avoid
writing to disk but this would have an impact on HEAP consumption.
It would be great if the response body can optionally be ignored (maybe only
for 200:300 statuses), I am not doing anything with the endpoint response
body if the status is 200.

Maybe such option will be helpful for other camel riders?



--
View this message in context: 
http://camel.465427.n5.nabble.com/HttpProducer-to-ignore-response-body-avoiding-stream-caching-tp5767260.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to