hello,
we have the following entry in our route:

.to(routeConfig.getSupplierUri())

where supplierUri could be 
(1) https4:foo.com/MetaSearchService_v1.asmx
(2) https4:bar.com/service?username=foo
etc. (we configure around 30 of these routes)

What we would like to do, is to set a global soTimeout for alle the
http4-endpoints. Something like this:

.to(routeConfig.getSupplierUri() + "?httpClient.soTimeout=5000")

However, this is not so straightforward as we need logic to decide if we
should add the query mark or not as this might be added already (as in
example 2 above)

Is it possible to use
http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/params/BasicHttpParams.html
or org.apache.http.client.config to accomplish this?

any suggestions would be highly appreciated!

/pj



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-configure-http-client-tp5743784.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to