camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Delay route start
Date Thu, 10 May 2012 14:52:13 GMT
On Thu, May 10, 2012 at 4:48 PM, PhilBurress <> wrote:
> Mainly this has to do with startup order of applications in our WAS server
> instance (which we unfortunately cannot change). Just need a small delay of
> 10 to 15 seconds.

With current code you can mark those routes as auto startup = false,
and attach a route policy
and then in the onInit() method, you schedule a task to run in 10-15
secs, and the task, then starts the route.

We may add something nicer out of the box, if the use-case is more common.

So its maybe just a <route delayStart="15s"> to configure in the DSL.

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
CamelOne 2012 Conference, May 15-16, 2012:
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message