You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Willem Jiang <wi...@gmail.com> on 2014/10/10 07:48:23 UTC

Re: Camel - 2.14 - Junit test cases failed - Could not create object of extension class org.apache.cxf.transport.jms.JMSTransportFactory

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 (rgupta76@sapient.com) 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
>  
>  
>