Hi, 

there is a way of configuring Spring-DM to go synchronous, 

add the following line to your manifest: 

Spring-Context: *;create-asynchrously:=false


But as far as I can tell from the documentation it has some side effects,
make shure those don't bother you either :)

you might also take a look at the Spring-DM documentation: 
http://static.springsource.org/osgi/docs/1.2.1/reference/html-single/

cheers, Achim 




Thiago Souza wrote:
> 
> Hello there,
> 
>        I've setup a production server based on karaf and camel. I've
> installed camel through the features mechanism and deployed several spring
> xml files that defines components and camel contexts instantiation. 
> 
>        Everything is fine until the server is restarted. In this case I
> get all sort of random problem like type converters that can not be found,
> routes based on quartz throwing exceptions and other weird behavior. The
> only way to solve this problem is to undeploy all the xml files, restart
> the system and redeploy them in a controlled way.
> 
>        How can I solve this? Is there any way to start the xmls AFTER all
> the camel bundles and have them started in an ordered way?
> 
> Regards,
> Thiago Souza
> 

-- 
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-Camel-and-startup-race-conditons-tp1165020p1183652.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to