camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <willem.ji...@gmail.com>
Subject Re: Camel Timeout on a route
Date Sun, 28 Oct 2012 04:07:23 GMT
Hi, 

I just add an unit test to show how to set the HttpClientPolicy dynamically.
You can set the receive timeout through the message header like this[1]

http://svn.apache.org/viewvc?rev=1402926&view=rev 

-- 
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang





On Sunday, October 28, 2012 at 12:18 AM, ravi.4indra wrote:

> Hi,
> 
> Is there a way to set timeout dynamically in camel-cxf component?.
> 
> So do the total timeout of 60 seconds, if the first webservice call took 10
> seconds then the timeout of second webservice call is 60-10 seconds.
> 
> for this i need to set the timeout using exchange header. is it possible to
> do? 
> 
> Thanks
> Ravi
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Timeout-on-a-route-tp5721576p5721640.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).




Mime
View raw message