camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Siepert <andreas.siep...@gmail.com>
Subject Re: soTimeout ignored by camel http component
Date Wed, 03 Feb 2016 13:54:37 GMT
You could pass the whole uri as header parameter. If i rember right this
works since 2.16 for to()  - if using an older version you could use the
EIP recipientList

Hope that helps
Andi

2016-02-03 11:02 GMT+01:00 yuktisinghal <yukt.singhal@gmail.com>:

> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message