camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <r...@evosent.com>
Subject Re: Camel Timeout on a route
Date Fri, 26 Oct 2012 01:14:30 GMT
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" <ravi.4indra@gmail.com> 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.
>

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