On Thu, May 10, 2012 at 4:48 PM, PhilBurress <nmclough...@amig.com> 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: > http://camel.465427.n5.nabble.com/Delay-route-start-tp5686442p5700476.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/