On Wed, Jun 30, 2010 at 11:22 AM, Guillaume Nodet <[email protected]> wrote:
> On Wed, Jun 30, 2010 at 11:11, Charles Moulliard <[email protected]> wrote:
>> +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
>
> Those are the default values afaik.
>
I think Charles meant to say it should be sync and thus it should be false
create-asynchrously:=false
>>
>> 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
>>>
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus