This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new d9becd1  CAMEL-12338 - Add a Camel-Xchange Karaf feature
d9becd1 is described below

commit d9becd1c1fafe8b15cd4abb2bab30f4dbe982557
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Mar 9 09:44:51 2018 +0100

    CAMEL-12338 - Add a Camel-Xchange Karaf feature
---
 parent/pom.xml                                     |  1 +
 .../karaf/features/src/main/resources/features.xml |  6 ++++
 .../apache/camel/itest/karaf/CamelXchangeTest.java | 33 ++++++++++++++++++++++
 3 files changed, 40 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index b98a587..1b2d7a9 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -585,6 +585,7 @@
     <reflections-version>0.9.11</reflections-version>
     <reflections-bundle-version>0.9.11_1</reflections-bundle-version>
     <regexp-bundle-version>1.4_1</regexp-bundle-version>
+    <rescu-version>2.0.1</rescu-version>
     <rest-assured-version>3.0.7</rest-assured-version>
     <restlet-version>2.3.12</restlet-version>
     <restlet-woodstox-version>4.3.0</restlet-woodstox-version>
diff --git a/platforms/karaf/features/src/main/resources/features.xml 
b/platforms/karaf/features/src/main/resources/features.xml
index 64ef82f..2b0ab5d 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -2368,6 +2368,12 @@
     <bundle 
dependency='true'>mvn:com.google.guava/guava/${google-guava-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-wordpress/${project.version}</bundle>
   </feature>
+  <feature name='camel-xchange' version='${project.version}' resolver='(obr)' 
start-level='50'>
+    <feature version='${project.version}'>camel-core</feature>
+    <bundle 
dependency='true'>wrap:mvn:org.knowm.xchange/xchange-core/${xchange-version}</bundle>
+    <bundle 
dependency='true'>wrap:mvn:com.github.mmazi/rescu/${rescu-version}</bundle>
+    <bundle>mvn:org.apache.camel/camel-xchange/${project.version}</bundle>
+  </feature>
   <feature name='camel-xmlbeans' 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.ant/${ant-bundle-version}</bundle>
diff --git 
a/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelXchangeTest.java
 
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelXchangeTest.java
new file mode 100644
index 0000000..25c6462
--- /dev/null
+++ 
b/tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelXchangeTest.java
@@ -0,0 +1,33 @@
+/**
+ * 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.junit.PaxExam;
+
+@RunWith(PaxExam.class)
+public class CamelXchangeTest extends BaseKarafTest {
+
+    public static final String COMPONENT = extractName(CamelXchangeTest.class);
+
+    @Test
+    public void test() throws Exception {
+        testComponent(COMPONENT);
+    }
+
+}

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to