Many Camel components support specifying timeouts, e.g. JMS, CXF, Jetty,
etc.

What does commonRoute do? Could you post its code so we can help you
further?

Thanks.

Sent from a mobile device
On 26 Oct 2012 01:32, "ravi.4indra" <[email protected]> wrote:

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

Reply via email to