camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: New to camel need some help
Date Tue, 18 Aug 2015 07:40:18 GMT

Take a look at

On Mon, Aug 17, 2015 at 4:21 PM, kishoreJ <> wrote:
> hello all i am new to camel
> I am wondering how can we stop certain routes instead of completely stopping
> the whole camel context and also is there any other alternative for
> Thread.sleep(); method for processing. I would like to run a route once and
> stop the route when the route is completed. Currently I do the usual
> Thread.sleep(3000) in the main Java class to leave some time for the route
> to finish.I saw some documentation saying camel route supports graceful
> shutdown but if i don't use Thread.sleep() route shut downs immediately
> without processing.TIA
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
----------------- @davsclaus
Camel in Action 2nd edition:

View raw message