| 1 |
<?xml version='1.0' encoding='UTF-8'?> |
| 2 |
<!-- |
| 3 |
|
| 4 |
Licensed to the Apache Software Foundation (ASF) under one or more |
| 5 |
contributor license agreements. See the NOTICE file distributed with |
| 6 |
this work for additional information regarding copyright ownership. |
| 7 |
The ASF licenses this file to You under the Apache License, Version 2.0 |
| 8 |
(the "License"); you may not use this file except in compliance with |
| 9 |
the License. You may obtain a copy of the License at |
| 10 |
|
| 11 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 12 |
|
| 13 |
Unless required by applicable law or agreed to in writing, software |
| 14 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 15 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 |
See the License for the specific language governing permissions and |
| 17 |
limitations under the License. |
| 18 |
|
| 19 |
--> |
| 20 |
|
| 21 |
<features name="activemq-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.4.0"> |
| 22 |
|
| 23 |
<repository>mvn:org.apache.activemq/activemq-karaf/${project.version}/xml/features-core</repository> |
| 24 |
|
| 25 |
<!-- Starts the broker with default configuration --> |
| 26 |
<feature name="activemq-broker-noweb" description="Full ActiveMQ broker with default configuration" version="${project.version}"> |
| 27 |
<feature version="${project.version}">activemq</feature> |
| 28 |
<configfile finalname="${karaf.etc}/activemq.xml">mvn:org.apache.activemq/activemq-karaf/${project.version}/xml/activemq</configfile> |
| 29 |
<configfile finalname="${karaf.etc}/org.apache.activemq.server-default.cfg">mvn:org.apache.activemq/activemq-karaf/${project.version}/cfg/activemq</configfile> |
| 30 |
</feature> |
| 31 |
|
| 32 |
<!-- Starts the broker with default configuration and web console --> |
| 33 |
<feature name="activemq-broker" description="Full ActiveMQ broker with default configuration and web console" version="${project.version}"> |
| 34 |
<feature version="${project.version}">activemq</feature> |
| 35 |
<configfile finalname="${karaf.etc}/activemq.xml">mvn:org.apache.activemq/activemq-karaf/${project.version}/xml/activemq</configfile> |
| 36 |
<configfile finalname="${karaf.etc}/org.apache.activemq.server-default.cfg">mvn:org.apache.activemq/activemq-karaf/${project.version}/cfg/activemq</configfile> |
| 37 |
<feature version="${project.version}">activemq-web-console</feature> |
| 38 |
</feature> |
| 39 |
|
| 40 |
<feature name="activemq-shell" version="${project.version}"> |
| 41 |
<feature>shell-compat</feature> |
| 42 |
<bundle>mvn:org.apache.activemq/activemq-karaf/${project.version}</bundle> |
| 43 |
</feature> |
| 44 |
|
| 45 |
<feature name="activemq-camel" version="${project.version}"> |
| 46 |
<feature version="${project.version}">activemq-client</feature> |
| 47 |
<feature version="${camel-version-range}">camel-jms</feature> |
| 48 |
<feature version="${camel-version-range}">camel</feature> |
| 49 |
<feature version="${camel-version-range}">camel-spring</feature> |
| 50 |
<feature version="${camel-version-range}">camel-blueprint</feature> |
| 51 |
</feature> |
| 52 |
|
| 53 |
<!-- |
| 54 |
Don't forget to bind Karaf JMX server to 0.0.0.0 to have a functional webconsole: |
| 55 |
In etc/org.apache.karaf.management.cfg, both rmiRegistryHost and rmiServerHost should use 0.0.0.0 |
| 56 |
--> |
| 57 |
<feature name="activemq-web-console" version="${project.version}"> |
| 58 |
<feature>war</feature> |
| 59 |
<feature>eventadmin</feature> |
| 60 |
<configfile finalname="${karaf.etc}/org.apache.activemq.webconsole.cfg">mvn:org.apache.activemq/activemq-karaf/${project.version}/cfg/activemq-webconsole</configfile> |
| 61 |
<bundle>mvn:org.apache.activemq/activemq-web-console/${project.version}/war</bundle> |
| 62 |
</feature> |
| 63 |
|
| 64 |
<feature name="activemq-blueprint" version="${project.version}"> |
| 65 |
<feature version="${project.version}">activemq</feature> |
| 66 |
<bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/${servicemix.specs.version}</bundle> |
| 67 |
<bundle dependency="true">mvn:org.apache.commons/commons-jexl/2.0.1</bundle> |
| 68 |
<bundle dependency="true">mvn:org.apache.xbean/xbean-blueprint/${xbean-version}</bundle> |
| 69 |
<bundle>mvn:org.apache.activemq/activemq-blueprint/${project.version}</bundle> |
| 70 |
</feature> |
| 71 |
|
| 72 |
<feature name="activemq-amqp-client" version="${pom.version}" description="ActiveMQ AMQP protocol client libraries"> |
| 73 |
<bundle>mvn:io.netty/netty-common/${netty-version}</bundle> |
| 74 |
<bundle>mvn:io.netty/netty-transport/${netty-version}</bundle> |
| 75 |
<bundle>mvn:io.netty/netty-transport-native-epoll/${netty-version}</bundle> |
| 76 |
<bundle>mvn:io.netty/netty-transport-native-kqueue/${netty-version}</bundle> |
| 77 |
<bundle>mvn:io.netty/netty-transport-native-unix-common/${netty-version}</bundle> |
| 78 |
<bundle>mvn:io.netty/netty-buffer/${netty-version}</bundle> |
| 79 |
<bundle>mvn:io.netty/netty-codec/${netty-version}</bundle> |
| 80 |
<bundle>mvn:io.netty/netty-codec-http/${netty-version}</bundle> |
| 81 |
<bundle>mvn:io.netty/netty-handler/${netty-version}</bundle> |
| 82 |
<bundle>mvn:io.netty/netty-resolver/${netty-version}</bundle> |
| 83 |
<bundle>mvn:org.apache.qpid/proton-j/${qpid-proton-version}</bundle> |
| 84 |
<bundle>mvn:org.apache.qpid/qpid-jms-client/${qpid-jms-version}</bundle> |
| 85 |
</feature> |
| 86 |
|
| 87 |
</features> |