You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by sp...@web.de on 2017/08/31 07:51:09 UTC
ActiveMQ and OSGi - Two bundles export the same package
org.apache.activemq.broker
Hello mailing list,
I'd like to use both ActiveMQ bundles, client and broker, in a plain OSGi-Framework (in my case Equinox 4.5.0). My problem is that both bundles export the same package called "org.apache.activemq.broker", so I can't use Import-Package when I want to use the BrokerService in one of my bundle. I have to use Required-Bundle to import this class from the broker bundle. I remember that it isn't osgi best-practice that more than one bundle export the same package and it should be avoided. Nevertheless, is there a good reason that both bundles export the same package in this case? Or should I open a bug for this issue?
Thank you and best regards,
Sandra