Never the less you shouldn't rely on the startlevels,
I suggest that your application waits on services provided by the
ActiveMQ broker.
This is far more safe and more OSGi like ;)

regards, Achim

2012/4/25 Jean-Baptiste Onofré <[email protected]>:
> Hi Jason,
>
> Using a feature, you can define the start-level of the bundles in the
> feature.
>
> Regards
> JB
>
>
> On 04/25/2012 05:12 PM, Jason wrote:
>>
>> Hi all,
>>
>> I have an application that uses Apache ActiveMQ in Karaf. I have a
>> broker project and multiple other projects that should depend on the
>> broker service to be started. How do I specify in the maven pom
>> (maven-bundle-plugin) that the child projects should wait until the
>> broker is started?
>>
>> Thanks,
>> Jason
>
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to