I could use the code below (as suggested in http://camel.apache.org/http4.html), but seems like any calls on the HttpClient are deprecated in HttpClient 4.3. Any non-deprecated suggestions?
HttpComponent httpComponent = getContext().getComponent("http4", HttpComponent.class); httpComponent.setHttpClientConfigurer(new MyHttpClientConfigurer()); public class MyHttpClientConfigurer implements HttpClientConfigurer { public void configureHttpClient(HttpClient client) { client.getParams().setIntParameter("httpClient.soTimeout", 50000); } } -- View this message in context: http://camel.465427.n5.nabble.com/How-to-configure-http-client-tp5743784p5743790.html Sent from the Camel - Users mailing list archive at Nabble.com.