Camel project upgrades CXF version to 3.2.7 (see https://github.com/jboss-fuse/camel/blob/camel-2.21.0.fuse-730020/parent/pom.xml#L176
Wildfly camel still uses version 3.1.16.redhat-1 see https://github.com/jboss-fuse/wildfly-camel/blob/wildfly-camel-5.2.0.fuse-730012/pom.xml#L64
Example:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.redhat.fuse.qe</groupId> <artifactId>reproducer</artifactId> <version>1.0-SNAPSHOT</version> <properties> <version.redhat.fuse>7.3.0.fuse-730012</version.redhat.fuse> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.jboss.redhat-fuse</groupId> <artifactId>fuse-eap-bom</artifactId> <version>${version.redhat.fuse}</version> <scope>import</scope> <type>pom</type> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-telegram</artifactId> </dependency> </dependencies> </project>
[INFO] [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ reproducer --- [INFO] org.redhat.fuse.qe:reproducer:jar:1.0-SNAPSHOT [INFO] \- org.apache.camel:camel-telegram:jar:2.21.0.fuse-730020:compile [INFO] +- org.apache.camel:camel-core:jar:2.21.0.fuse-730020:compile [INFO] | \- org.slf4j:slf4j-api:jar:1.7.22.redhat-2:compile [INFO] +- org.apache.cxf:cxf-rt-rs-client:jar:3.1.16.redhat-1:compile <--- see this [INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.2.7.fuse-730007:compile [INFO] | +- org.apache.cxf:cxf-core:jar:3.2.7.fuse-730007:compile [INFO] | | +- com.fasterxml.woodstox:woodstox-core:jar:5.0.3.redhat-1:compile [INFO] | | | \- org.codehaus.woodstox:stax2-api:jar:3.1.4.redhat-1:compile [INFO] | | \- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.1.redhat-1:compile [INFO] | \- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:3.1.16.redhat-1:compile <--- see this [INFO] | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile [INFO] | \- javax.annotation:javax.annotation-api:jar:1.2:compile [INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.11.2:compile [INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.8.11:compile [INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.11:compile [INFO] +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.8.11:compile [INFO] | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.8.11:compile [INFO] | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.8.11:compile [INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile [INFO] \- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile