Repository: camel Updated Branches: refs/heads/master fa8900b0c -> 36d250532
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/36d25053 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/36d25053 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/36d25053 Branch: refs/heads/master Commit: 36d250532f0f5ff7a24899b4d2a7c6ff14a9a583 Parents: fa8900b Author: Andrea Cosentino <anco...@gmail.com> Authored: Mon Apr 4 13:49:33 2016 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Mon Apr 4 13:50:22 2016 +0200 ---------------------------------------------------------------------- parent/pom.xml | 1 + .../features/src/main/resources/features.xml | 7 ++++ .../camel/itest/karaf/CamelIronmqTest.java | 34 ++++++++++++++++++++ 3 files changed, 42 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/36d25053/parent/pom.xml ---------------------------------------------------------------------- diff --git a/parent/pom.xml b/parent/pom.xml index 77456ca..e5efd43 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -249,6 +249,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/36d25053/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 e5c0ea9..d3cc39f 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -784,6 +784,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/36d25053/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..d5b5c05 --- /dev/null +++ b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelIronmqTest.java @@ -0,0 +1,34 @@ +/** + * 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.apache.camel.test.karaf.AbstractFeatureTest; + import org.junit.Test; +import org.junit.runner.RunWith; +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); + } + +} \ No newline at end of file