Thank you for responses. So I found that Camel sometimes sets incorrect Content-Length header value when getting content as String in org.apache.camel.component.http.DefaultHttpBinding. It is fixed only in version 2.10.x. For earlier versions the possible way to fix this is to use custom HttpBinding overriding method writeResponse and fixing it there.
-- View this message in context: http://camel.465427.n5.nabble.com/Jetty-component-cuts-response-tp5718473p5718545.html Sent from the Camel - Users mailing list archive at Nabble.com.
