Hi I was thinking about using either activator or tracker.
But in both cases, if business service is unavailable the bundle will go in failure. So I need to use some monitoring to restart bundle after a while. Other option can be a kind of while loop to wait fort service but i dont really like the idea. I'm mostly based on spring configuration. Le 13 nov. 2014 20:00, "Jean-Baptiste Onofré" <[email protected]> a écrit : > 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é" <[email protected] >> <mailto:[email protected]>> 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é >> [email protected] <mailto:[email protected]> >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> >> > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com >
