Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Add Artemis broker to Kura core #1511
Comments
ctron
added the
enhancement
label
Jul 11, 2017
ctron
added this to the
KURA-3.1.0
milestone
Jul 11, 2017
ctron
self-assigned this
Jul 11, 2017
ctron
added a commit
to ctron/kura
that referenced
this issue
Jul 11, 2017
|
|
ctron |
9dff766
|
|
It looks like Artemis requires at least the compact3 profile due to [jreimann@jreimann org.eclipse.kura.broker.artemis.core]$ jdeps -P target/org.eclipse.kura.broker.artemis.core-1.0.0-SNAPSHOT.jar
org.eclipse.kura.broker.artemis.core-1.0.0-SNAPSHOT.jar -> not found
org.eclipse.kura.broker.artemis.core-1.0.0-SNAPSHOT.jar -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64/jre/lib/rt.jar (compact3)
org.eclipse.kura.broker.artemis.core (org.eclipse.kura.broker.artemis.core-1.0.0-SNAPSHOT.jar)
-> com.google.common.collect not found
-> com.google.common.io not found
-> java.io compact1
-> java.lang compact1
-> java.lang.management compact3
-> java.net compact1
-> java.nio.charset compact1
-> java.nio.file compact1
-> java.nio.file.attribute compact1
-> java.util compact1
-> javax.management compact3
-> org.apache.activemq.artemis.core.config not found
-> org.apache.activemq.artemis.core.config.impl not found
-> org.apache.activemq.artemis.core.deployers not found
-> org.apache.activemq.artemis.core.server not found
-> org.apache.activemq.artemis.jms.server.config.impl not found
-> org.apache.activemq.artemis.spi.core.protocol not found
-> org.apache.activemq.artemis.spi.core.security not found
-> org.apache.activemq.artemis.spi.core.security.jaas not found
-> org.eclipse.kura.broker.artemis.core.internal org.eclipse.kura.broker.artemis.core-1.0.0-SNAPSHOT.jar
-> org.osgi.framework not found
-> org.slf4j not found
org.eclipse.kura.broker.artemis.core.internal (org.eclipse.kura.broker.artemis.core-1.0.0-SNAPSHOT.jar)
-> com.google.common.collect not found
-> java.lang compact1
-> java.util compact1
-> org.apache.activemq.artemis.spi.core.protocol not found
-> org.osgi.framework not found
-> org.osgi.util.tracker not found
-> org.slf4j not found
|
|
The management capabilities can simply be disabled at runtime, maybe? https://activemq.apache.org/artemis/docs/1.0.0/management.html#configuring-jmx - not sure it would be enough though as there seems to be many places where java.lang.management classes are used. |
|
The functionality can be disabled and code will not be called. However the references in the class files will still remain. |
ctron
added a commit
to ctron/kura
that referenced
this issue
Jul 12, 2017
|
|
ctron |
61b4e9e
|
ctron
added a commit
to ctron/kura
that referenced
this issue
Jul 12, 2017
|
|
ctron |
5179ecc
|
dejanb
commented
Jul 13, 2017
|
Unfortunately, we can't remove that dependency easily as the code is in the server bundle. But this can be a good improvement, so that in constrained environments we can turn jmx off and use amqp management instead. |
nicolatimeus
was assigned
by cdealti
Jul 24, 2017
|
@nicolatimeus can you please review? |
|
I've performed a quick test on a Raspberry Pi 3, here is some feedback:
|
|
@nicolatimeus can you please also check:
|
|
@nicolatimeus What is the reason to start The AMQP part is a "known issue" ;-) we need to discuss is we want that and I would then start to work on CQs. |
|
If |
I still have to test Websocket over SSL |
Yes, because I did remove the lazy flag. Ok, so I don't think we need to auto-start it, but to re-add the lazy flag for the bundle. |
|
Setting the lazy flag works as expected, let's go for it then. |
|
I already did update the branch, currently testing it locally. |
ctron
added a commit
to ctron/kura
that referenced
this issue
Jul 26, 2017
|
|
ctron |
a0c6a4a
|
|
Websocket over SSL works as well with the same setup used for testing secure MQTT connections described above. |
ctron commentedJul 11, 2017
As discussed last week during the F2F meeting, Artemis should get added to the Kura core distribution for providing a local gateway broker.