Hi Guillaume, Charles,
Can't we just add the appropriate Spring-Context headers to the OSGi
manifest to turn on synchronous startup of the bundles?
See
http://static.springsource.org/osgi/docs/1.2.0/reference/html/app-deploy.html#app-deploy:headers
Best,
Ade.
Open Source Integration: http://fusesource.com
On 30/06/2010 09:58, Guillaume Nodet wrote:
The problem isn't that the start level is not used. It is actually
used by the framework.
The problem is that spring apps are started asynchronously.
If you have dependencies between bundles start order, you should
usually use service dependencies to model those.
On Wed, Jun 30, 2010 at 10:51, Charles Moulliard<[email protected]> wrote:
Hi,
Does anybody knows if there is a way to define the start up order of
the Spring when we have spring xml files defined in
META-INF/spring/*.xml ?
The bundle start level is not taken into account in this case !!
KR,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com | Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard