Hi,

maybe you can manage using the Activator to check the state of the service or other bundle.

Can you describe a bit what you use (blueprint, DS, etc) ?

Regards
JB

On 11/13/2014 07:50 PM, Matthieu Vincent wrote:
Hi all

My problem is thar i've got a bundle starting consumer en JMS queues
that must wait for my business bundle to start which can be "long" so i
need the first one to wait thé second.

Features and start level didn't fix my problem. I've already tried.

Mat

Le 13 nov. 2014 19:34, "Jean-Baptiste Onofré" <j...@nanthrax.net
<mailto:j...@nanthrax.net>> a écrit :

    Hi Matthieu,

    you can use start-level, but honestly, I would recommend to use
    features.

    Let say, you have bundle1 and bundle2, where bundle2 depends to bundle1.

    You can define:

    <feature version="1.0" name="feature1">
    <bundle>.../bundle1</bundle>
    </feature>

    <feature version="1.0" name="feature2">
    <feature version="1.0">feature1</__feature>
    <bundle>../bundle2</bundle>
    </feature>

    Regards
    JB

    On 11/13/2014 06:39 PM, Matthieu Vincent wrote:

        Hi

            I'd like to know which is the better way to have some dependency
        between 2 bundles so that a bundle will not start before its
        dependency
        is in an active state ?

        Thanks for answers
        Mat


    --
    Jean-Baptiste Onofré
    jbono...@apache.org <mailto:jbono...@apache.org>
    http://blog.nanthrax.net
    Talend - http://www.talend.com


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to