ActiveMQ is not a good choice for MQTT. It needs a lot of dependencies.
If you just need a client I would try eclipse paho first.

In karaf it is just this:
install -s mvn:org.eclipse.paho/org.eclipse.paho.client.mqttv3/1.1.0

For bndtools you have to put that bundle into an index first of course.

Christian


On 17.02.2017 17:29, Mestiri Meher wrote:
Hi guys,

I'm looking on how deploying an MQTT broker into an osgi environment.

I'm running my osgi container in an embedded environment.

I tried installing apache Karaf as it already has the ActiveMQ broker integration easy, but i was not able to install it as it needs some junit libraries that does not comply with the jre embedded.

The other solution I'm thinking of is installing the ActiveMQ broker against Felix.

I found in an mvn repo an osgi bundle for the activeMQ but it needs its dependencies.

So I tried adding them as bundles but I faced an issue right now because when I start that bundle it asks for a dependency that I can't find it.

->  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)]

Do you have an idea on how I have to proceed ?

Thanks in advance :)
Meher


_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to