camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Gupta 7 <rgupt...@sapient.com>
Subject Camel - 2.14 - Junit test cases failed - Could not create object of extension class org.apache.cxf.transport.jms.JMSTransportFactory
Date Fri, 10 Oct 2014 04:59:58 GMT
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



Mime
View raw message