In my current application camel is used as an intermediate queue
for handling the request.when my server is start up , we set up the
routes.In the routes we define define timeout .My routebuilder class is

from(consumerUri).to(TO_INFO).process(new CamelReceiveProcessor));

Here TO_INFO = jetty://${header.headerProducerURI}?httpClient.timeout=15000

And the header.headerPrpducerURI is passed at runtime. 

But that timeout is set for all the requests.

I want to override this value of timeout dynamically with each request.

How to do it???

Also, i tried not setting it at configure method but passing it through
Exchange.HTTPURI OR Exchange.HTTPQUERY.But as mentioned 
Above it was completely ignored.it does not gives timeout exception.

So my query is how can we override already set settings like timeout 
During run time ??



--
View this message in context: 
http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5777182.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to