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

davsclaus 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 1585912  CAMEL-16170: Modularize camel-spring
1585912 is described below

commit 15859127c74b703b8ddab8b38d38ee2b94c383d5
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Feb 13 08:17:33 2021 +0100

    CAMEL-16170: Modularize camel-spring
---
 .../itest/proxy/SpringEchoCamelProxyTest.java      | 41 -------------------
 .../camel/itest/proxy/SpringEchoCamelProxyTest.xml | 46 ----------------------
 2 files changed, 87 deletions(-)

diff --git 
a/tests/camel-itest/src/test/java/org/apache/camel/itest/proxy/SpringEchoCamelProxyTest.java
 
b/tests/camel-itest/src/test/java/org/apache/camel/itest/proxy/SpringEchoCamelProxyTest.java
deleted file mode 100644
index 49dd10f..0000000
--- 
a/tests/camel-itest/src/test/java/org/apache/camel/itest/proxy/SpringEchoCamelProxyTest.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * 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.proxy;
-
-import org.apache.camel.test.spring.junit5.CamelSpringTestSupport;
-import org.junit.jupiter.api.Test;
-import org.springframework.context.support.AbstractApplicationContext;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
-public class SpringEchoCamelProxyTest extends CamelSpringTestSupport {
-
-    @Override
-    protected AbstractApplicationContext createApplicationContext() {
-        return new 
ClassPathXmlApplicationContext("org/apache/camel/itest/proxy/SpringEchoCamelProxyTest.xml");
-    }
-
-    @Test
-    void testEchoProduce() {
-        EchoClient client = 
context.getRegistry().lookupByNameAndType("client", EchoClient.class);
-
-        String reply = client.hello("Camel");
-        assertEquals("Hello Camel", reply);
-    }
-
-}
diff --git 
a/tests/camel-itest/src/test/resources/org/apache/camel/itest/proxy/SpringEchoCamelProxyTest.xml
 
b/tests/camel-itest/src/test/resources/org/apache/camel/itest/proxy/SpringEchoCamelProxyTest.xml
deleted file mode 100644
index c623a4a..0000000
--- 
a/tests/camel-itest/src/test/resources/org/apache/camel/itest/proxy/SpringEchoCamelProxyTest.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    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.
-
--->
-<beans xmlns="http://www.springframework.org/schema/beans";
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-       xmlns:context="http://www.springframework.org/schema/context";
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd
-       http://www.springframework.org/schema/context 
http://www.springframework.org/schema/context/spring-context.xsd
-       http://camel.apache.org/schema/spring 
http://camel.apache.org/schema/spring/camel-spring.xsd
-    ">
-
-    <context:component-scan base-package="org.apache.camel.itest.proxy"/>
-
-    <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
-
-        <proxy id="myEcho"
-               serviceInterface="org.apache.camel.itest.proxy.Echo"
-               serviceUrl="direct:start"/>
-
-        <route>
-            <from uri="direct:start"/>
-            <transform>
-                <simple>Hello ${body}</simple>
-            </transform>
-        </route>
-
-    </camelContext>
-
-</beans>

Reply via email to