Repository: camel Updated Branches: refs/heads/camel-2.17.x 8e7206342 -> ff198f23a
CAMEL-9806: Add camel-IronMQ Karaf feature Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ff198f23 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ff198f23 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ff198f23 Branch: refs/heads/camel-2.17.x Commit: ff198f23ae381b2c0a69252a2001c5c214a851f7 Parents: 8e72063 Author: Andrea Cosentino <[email protected]> Authored: Mon Apr 4 13:49:33 2016 +0200 Committer: Andrea Cosentino <[email protected]> Committed: Mon Apr 4 14:03:39 2016 +0200 ---------------------------------------------------------------------- parent/pom.xml | 1 + .../features/src/main/resources/features.xml | 7 ++++ .../camel/itest/karaf/CamelIronmqTest.java | 40 ++++++++++++++++++++ 3 files changed, 48 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/ff198f23/parent/pom.xml ---------------------------------------------------------------------- diff --git a/parent/pom.xml b/parent/pom.xml index aae843b..ec39e9d 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -250,6 +250,7 @@ <irclib-bundle-version>1.10_5</irclib-bundle-version> <irclib-version>1.10</irclib-version> <ironmq-version>3.0.3</ironmq-version> + <ironmq-bundle-version>3.0.3_1</ironmq-bundle-version> <isorelax-bundle-version>20050913_4</isorelax-bundle-version> <isorelax-version>20090621</isorelax-version> <isorelax-jaxp-bridge-version>1.1</isorelax-jaxp-bridge-version> http://git-wip-us.apache.org/repos/asf/camel/blob/ff198f23/platforms/karaf/features/src/main/resources/features.xml ---------------------------------------------------------------------- diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml index c842d63..8bfcd1c 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -767,6 +767,13 @@ <bundle dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.irclib/${irclib-bundle-version}</bundle> <bundle>mvn:org.apache.camel/camel-irc/${project.version}</bundle> </feature> + <feature name='camel-ironmq' version='${project.version}' resolver='(obr)' start-level='50'> + <feature version='${project.version}'>camel-core</feature> + <bundle dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ironmq/${ironmq-bundle-version}</bundle> + <bundle dependency='true'>mvn:com.google.code.gson/gson/${gson-version}</bundle> + <bundle dependency='true'>mvn:org.apache.commons/commons-lang3/${commons-lang3-version}</bundle> + <bundle>mvn:org.apache.camel/camel-ironmq/${project.version}</bundle> + </feature> <feature name='camel-jackson' version='${project.version}' resolver='(obr)' start-level='50'> <feature version='${project.version}'>camel-core</feature> <bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-core/${jackson2-version}</bundle> http://git-wip-us.apache.org/repos/asf/camel/blob/ff198f23/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIronmqTest.java ---------------------------------------------------------------------- diff --git a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIronmqTest.java b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIronmqTest.java new file mode 100644 index 0000000..d25de68 --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIronmqTest.java @@ -0,0 +1,40 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.itest.karaf; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.ops4j.pax.exam.Configuration; +import org.ops4j.pax.exam.Option; +import org.ops4j.pax.exam.junit.PaxExam; + +@RunWith(PaxExam.class) +public class CamelIronmqTest extends AbstractFeatureTest { + + public static final String COMPONENT = extractName(CamelIronmqTest.class); + + @Test + public void test() throws Exception { + testComponent(COMPONENT); + } + + @Configuration + public static Option[] configure() { + return configure(COMPONENT); + } + +} \ No newline at end of file
