Hi,
I am using camel 2.14.0 version and supporting the cxf endpoint - for soap/rest 
/ soapjms
Application is working fine while accessing these cxf endpoint but the junit 
test cases fails due to the below reason:
Could not create object of extension class 
org.apache.cxf.transport.jms.JMSTransportFactory.

Everything works fine if I changes the camel version back to 2.13.1.

I am using the below  dependencies in pom.xml.
<dependency>
                <groupId>org.apache.camel</groupId>
                <artifactId>camel-cxf</artifactId>
                <version>${camel.version}</version>
                <exclusions>
                        <exclusion>
                                <artifactId>spring-context</artifactId>
                                <groupId>org.springframework</groupId>
                        </exclusion>
                </exclusions>
        </dependency>
        <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-bundle-jaxrs</artifactId>
                <version>2.7.12</version>
        </dependency>
                <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-bundle</artifactId>
                        <version>2.6.0.redhat-60024</version>
                        <exclusions>
                                <exclusion>
                                        <groupId>org.springframework</groupId>
                                        <artifactId>spring-asm</artifactId>
                                </exclusion>
                                <exclusion>
                                        <artifactId>spring-context</artifactId>
                                        <groupId>org.springframework</groupId>
                                </exclusion>
                        </exclusions>
                </dependency>

Please help.

Thanks & Regards,
Ravi Gupta


Reply via email to