camel-users mailing list archives

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

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
<alberto.zigoni@gmail.com> 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: http://camel.465427.n5.nabble.com/Multiple-contexts-startup-order-with-Spring-tp4564321p4564321.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message