Ok, thanks
I created a thread that is started from the activator.
This thread check the connection to the broker and ends when the connection
is ok.
I don't like very much this solution, but it works for now.
What do you think to add a service registration after the broker is started?
I mean in the activemq-osgi project, change the ActiveMQServiceFactory
class, adding at row 146 following code:
bundleContext.registerService(BrokerService.class.getName(), broker,
filter);
where filter contains at least the broker name.
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html