camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Multiple contexts startup order with Spring
Date Fri, 08 Jul 2011 10:59:00 GMT

Spring is pretty lame in letting end users be in control of the orders.

All you have at your disposal in the XML file is the "depends-on" attribute.
So try using that to see if you can control the ordering a bit better.

On Fri, Jul 8, 2011 at 12:53 PM, alberto.zigoni
<> wrote:
> Is it possible to define the order in which different Camel contexts should
> be started, using Spring?
> One solution could be to set autoStartup=false to each context and then
> having a Spring context-aware bean perform the startup of the contexts in
> the right order, but I am looking for an out-of-the-box solution, if
> available.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message