I finally found a solution that i am sharing here for the community. With that proposed patch, the streaming capability is preserved, and the latency is now much better:
<http://camel.465427.n5.nabble.com/file/n5735129/difference2.png> Here are the details of my patching of "*HttpProducer.java*" There is one small drawback: since the http connection is released only when the stream is closed, it is very important to...close the stream ;-) (NB: compared to AutoCloseInputStream, which automatically "/closes and discards the underlying stream as soon as the end of input has been reached/"...) Yet interested by your opinion about other potential drawbacks... Bernard. -- View this message in context: http://camel.465427.n5.nabble.com/Chunking-issue-with-http-producer-tp5735075p5735129.html Sent from the Camel - Users mailing list archive at Nabble.com.