I confirm, I've already the activeMq as bundle but in my dependencies I'm not having the blueprint.
2017-02-24 9:27 GMT+01:00 Christian Schneider <ch...@die-schneider.net>: > Do you have any bundle providing the blueprint packages in your index? > I also wonder a bit why activemq requires blueprint. Will check in the > source. > > Christian > > > On 24.02.2017 09:09, Randy Leonard wrote: > > I am having an issue getting Apache MQ to work with OSGi enRoute. I’ve > stripped it down to just the following bnd.bnd file: > > ——————————— > > Bundle-Version: 1.0.0.${tstamp} > Bundle-Description: This is my description > Private-Package: com.xyz.event.mq.producer.provider > -buildpath: \ > osgi.enroute.base.api;version=1.0,\ > javax.jms-api,\ > org.apache.activemq.activemq-osgi,\ > com.xyz.event.mq.producer.api;version=latest > -testpath: osgi.enroute.junit.wrapper;version=4.12 > -includeresource: {readme.md} > > -runrequires: \ > osgi.identity;filter:='(osgi.identity=org.apache.activemq. > activemq-osgi)',\ > osgi.identity;filter:='(osgi.identity=javax.annotation-api)',\ > osgi.identity;filter:='(osgi.identity=org.objectweb.asm)',\ > osgi.identity;filter:='(&(osgi.identity=org.apache. > felix.gogo.runtime)(version>=1.0.0))',\ > osgi.identity;filter:='(&(osgi.identity=org.apache. > felix.gogo.shell)(version>=1.0.0))',\ > osgi.identity;filter:='(&(osgi.identity=org.apache. > felix.gogo.command)(version>=1.0.0))',\ > osgi.identity;filter:='(osgi.identity=org.apache.felix.scr)',\ > osgi.identity;filter:='(&(osgi.identity=org.osgi. > service.blueprint)(version>=1.0.2.201505202024))’ > osgi.identity;filter:='(osgi.identity=com.xyz.event.mq.producer.provider)' > > -runbundles: \ > com.xyz.event.mq.producer.provider;version=snapshot,\ > org.apache.felix.configadmin;version='[1.8.8,1.8.9)',\ > org.apache.felix.log;version='[1.0.1,1.0.2)',\ > org.apache.felix.scr;version='[2.0.2,2.0.3)',\ > org.eclipse.equinox.metatype;version='[1.4.100,1.4.101)',\ > org.osgi.service.metatype;version='[1.3.0,1.3.1)' > Export-Package: \ > com.xyz.event.mq.producer.api,\ > com.xyz.event.mq.producer.api.dto > > ——————————— > > > > But I am still getting the following resolution errors: > > ——————————— > > Unable to resolve <<INITIAL>> version=null: > missing requirement com.xyz.event.mq.producer.provider > -> Unable to resolve com.xyz.event.mq.producer.provider > version=1.0.0.201702240740: > missing requirement org.apache.activemq; version=[5.14.0,6.0.0) > -> Unable to resolve org.apache.activemq.activemq-osgi version=5.14.3: > missing requirement org.osgi.service.blueprint; version=[1.0.0,2.0.0)]] > > ——————————— > > > > This is confusing, as: > - 'org.apache.activemq.activemq-osgi' should resolve > ‘ org.apache.activemq; version=[5.14.0,6.0.0)’ > - ‘org.osgi.service.blueprint’ should certainly resolve > 'org.osgi.service.blueprint; version=[1.0.0,2.0.0)]]' > > Curious if anyone has been successful with Apache MQ within enRoute and > could share some ideas? > > Thanks, > Randy > > > > > _______________________________________________ > OSGi Developer Mail > listosgi-...@mail.osgi.orghttps://mail.osgi.org/mailman/listinfo/osgi-dev > > > > -- > Christian Schneiderhttp://www.liquid-reality.de > > Open Source Architecthttp://www.talend.com > > > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev >
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev