Set timeout of an http endpoint

2009-06-03 Thread LeRoy Michel
Hi, I would like to set the timeout of an http connection using camel http component. I read the the Camel http guide (http://camel.apache.org/http.html) and I've tried the following but it doesn't work: public void process(Exchange exchange) throws Exception { Map headers = exchan

Re: Set timeout of an http endpoint

2009-06-04 Thread LeRoy Michel
he HttpClientParams java doc, there is no properties of > connectionTimeout, I think you need to try to use > connectionManagerTimeout instead of connectionTimeout. > > BTW, In Camel 2.0, we have the parameter validation, you will get the > ResolveEndpointFailedException if the parameter

Re: Set timeout of an http endpoint

2009-06-04 Thread LeRoy Michel
t; > Try getting the timeout to work directly using HTTP client API. Then > you know which settings work. > > Then setting the same option with the Camel URI should do the same. > But maybe there is a gremlin in the code. > > > > On Thu, Jun 4, 2009 at 10:11 AM,