This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 66550cf4 CAMEL-9627: camel-cxf splitup
66550cf4 is described below
commit 66550cf40a69d7923bb38462557ce79f6984ff54
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jun 30 11:40:49 2022 +0200
CAMEL-9627: camel-cxf splitup
---
examples/cxf/pom.xml | 13 ++++++-------
.../apache/camel/example/cxf/httptojms/CamelCxfExample.java | 4 ++--
.../META-INF/spring/CamelCXFProviderRouteConfig.xml | 4 ++--
.../camel/example/camel/transport/CamelDestination.xml | 1 -
4 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/examples/cxf/pom.xml b/examples/cxf/pom.xml
index 1f17e057..4317274a 100644
--- a/examples/cxf/pom.xml
+++ b/examples/cxf/pom.xml
@@ -54,20 +54,21 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
</dependency>
-
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring-xml</artifactId>
</dependency>
-
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-cxf</artifactId>
+ <artifactId>camel-cxf-spring-soap</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-cxf-spring-transport</artifactId>
</dependency>
-
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-cxf-transport</artifactId>
+ <artifactId>camel-cxf-spring-rest</artifactId>
</dependency>
<dependency>
@@ -111,13 +112,11 @@
<artifactId>cxf-rt-bindings-soap</artifactId>
<version>${cxf-version}</version>
</dependency>
-
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-jms</artifactId>
<version>${cxf-version}</version>
</dependency>
-
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
diff --git
a/examples/cxf/src/main/java/org/apache/camel/example/cxf/httptojms/CamelCxfExample.java
b/examples/cxf/src/main/java/org/apache/camel/example/cxf/httptojms/CamelCxfExample.java
index f2610129..2b9ab95c 100644
---
a/examples/cxf/src/main/java/org/apache/camel/example/cxf/httptojms/CamelCxfExample.java
+++
b/examples/cxf/src/main/java/org/apache/camel/example/cxf/httptojms/CamelCxfExample.java
@@ -18,8 +18,8 @@ package org.apache.camel.example.cxf.httptojms;
import org.apache.camel.CamelContext;
import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.component.cxf.CxfComponent;
-import org.apache.camel.component.cxf.CxfEndpoint;
+import org.apache.camel.component.cxf.jaxws.CxfComponent;
+import org.apache.camel.component.cxf.jaxws.CxfEndpoint;
import org.apache.camel.impl.DefaultCamelContext;
import org.apache.camel.test.AvailablePortFinder;
import org.apache.hello_world_soap_http.Greeter;
diff --git
a/examples/cxf/src/main/resources/META-INF/spring/CamelCXFProviderRouteConfig.xml
b/examples/cxf/src/main/resources/META-INF/spring/CamelCXFProviderRouteConfig.xml
index 22510641..3887da0b 100644
---
a/examples/cxf/src/main/resources/META-INF/spring/CamelCXFProviderRouteConfig.xml
+++
b/examples/cxf/src/main/resources/META-INF/spring/CamelCXFProviderRouteConfig.xml
@@ -19,10 +19,10 @@
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:cxf="http://camel.apache.org/schema/cxf"
+ xmlns:cxf="http://camel.apache.org/schema/cxf/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
- http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd
+ http://camel.apache.org/schema/cxf/jaxws
http://camel.apache.org/schema/cxf/jaxws/camel-cxf.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
">
diff --git
a/examples/cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml
b/examples/cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml
index e9865c30..abc2d48b 100644
---
a/examples/cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml
+++
b/examples/cxf/src/main/resources/org/apache/camel/example/camel/transport/CamelDestination.xml
@@ -25,7 +25,6 @@
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/transports/camel
http://cxf.apache.org/transports/camel.xsd
- http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/cxfEndpoint.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
">