Make it easier to install artemis on karaf

This commit is contained in:
Claus Ibsen 2015-12-27 09:24:17 +01:00
parent 81ffe3467a
commit daf4c84b07
2 changed files with 10 additions and 10 deletions

View File

@ -19,6 +19,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0">
<feature name="artemis" version="${pom.version}">
<feature>artemis-core</feature>
<feature>artemis-amqp</feature>
<feature>artemis-stomp</feature>
<feature>artemis-mqtt</feature>
<feature>artemis-hornetq</feature>
</feature>
<feature name="netty-core" version="${netty.version}">
<bundle>mvn:io.netty/netty-common/${netty.version}</bundle>
<bundle>mvn:io.netty/netty-transport/${netty.version}</bundle>
@ -45,7 +53,6 @@
<bundle>mvn:org.apache.activemq/artemis-native/${pom.version}</bundle>
<bundle>mvn:org.apache.activemq/artemis-server-osgi/${pom.version}</bundle>
</feature>
<feature name="artemis-amqp" version="${pom.version}">
@ -62,7 +69,6 @@
<bundle>mvn:org.apache.activemq/artemis-stomp-protocol/${pom.version}</bundle>
</feature>
<feature name="artemis-mqtt" version="${pom.version}">
<feature>artemis-core</feature>
<bundle>mvn:org.apache.activemq/artemis-mqtt-protocol/${pom.version}</bundle>

View File

@ -1,13 +1,7 @@
# Artemis on Apache Karaf
Apache ActiveMQ Artemis can be installed on Apache Karaf using the following commands from the Karaf shell:
Apache ActiveMQ Artemis can be installed on Apache Karaf (4.x or later) using the following commands from the Karaf shell:
feature:repo-add mvn:org.apache.activemq/artemis-features/1.2.1-SNAPSHOT/xml
feature:install artemis-core
feature:install artemis
And the various protocols can be installed using:
feature:install artemis-hornetq
feature:install artemis-stomp
feature:install artemis-mqtt
feature:install artemis-amqp