+1

If I have a bundle project (= camel route using Apache CXF), we have a
spring dependency with CXF project. So my bundle must be started in a
synchronous way and wait-for-dependencies. Is it correct ?

Spring-Context: *;wait-for-dependencies:=true;create-asynchrously:=true

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



On Wed, Jun 30, 2010 at 10:58 AM, Guillaume Nodet <[email protected]> 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
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Reply via email to