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
<[email protected]> 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: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to