camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ravi.4indra" <ravi.4in...@gmail.com>
Subject Camel Timeout on a route
Date Fri, 26 Oct 2012 00:29:44 GMT
Hi,

Is there a way to specify timeout on a route.

Example
from(direct:route1)
.to(bean:dosomething)
.to(direct:commonRoute)

now if the commonRoute takes more than n milliseconds i want to get a
timeout exception. 

FYI I tried seda component I got the timeout exception after n seconds but
the commonRoute continued its processing(may be it runs on  different
thread).


Any help is appreciated.

Thanks
R



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Timeout-on-a-route-tp5721576.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message