You are using different version version CXF in you class path. Please update the cxf-bundle and dxf-bundle-jaxrs version to 3.0.1 when you use camel 2.14.0.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 10, 2014 at 1:00:29 PM, Ravi Gupta 7 ([email protected]) wrote: > 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. > > org.apache.camel > camel-cxf > ${camel.version} > > > spring-context > org.springframework > > > > > org.apache.cxf > cxf-bundle-jaxrs > 2.7.12 > > > org.apache.cxf > cxf-bundle > 2.6.0.redhat-60024 > > > org.springframework > spring-asm > > > spring-context > org.springframework > > > > > Please help. > > Thanks & Regards, > Ravi Gupta > > >
