karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: ActiveMQ not starting soon enough
Date Sun, 10 Dec 2017 05:24:22 GMT
Hi Stephen,

I see. Let me take a look in ActiveMQ to see why client also ship broker package 
(it sounds weird to me).

Regards
JB

On 12/09/2017 12:46 PM, smunro wrote:
> Thanks JB,
> 
> The second approach certainly feels the cleanest to me. I gave that a go and
> found it couldn't be achieved due to both the broker and client bundles
> exposing the same package:
>   <Import-Package>*,org.apache.activemq.broker</Import-Package>
> 
> So, sadly I can't get away with doing:
> @Reference
> public void setBrokerService(BrokerService brokerService){ .. }
> 
> This was raised on the activemq forums last April:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-and-OSGi-Two-bundles-export-the-same-package-org-apache-activemq-broker-td4730106.html
> 
> I'll try your first suggested approach, but I'm ma little disappointed I
> couldn't get the second method to work :(
> 
> Thanks again,
> Stephen
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

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

Mime
View raw message