camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: 404 Error Unit testing Camel CXFRS End Point
Date Tue, 11 Oct 2016 15:50:27 GMT
Hi

Have a look please at the existing tests:

https://github.com/apache/camel/tree/master/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs

with the the resources located in:

https://github.com/apache/camel/tree/master/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs

Cheers, Sergey

On 11/10/16 16:20, aravind r wrote:
> Hi
>
>
> Am trying to write a Camel Test for my CXFRS Endpoint. The endpoint
> invocation is happening fine and the CXF out logger logs the success
> response however my Producer template returned exchange is always
> populated with a 404 exception end point not found.
>
> All the details are added in this post on Stack Overflow
>
> http://stackoverflow.com/questions/39980584/camel-cxf-junit-testing-failing-with-404
>
> Can some one please help as am stuck on this issue for 2 days now.
> What throws me off is my code works but camel test fails :).
>
> Regards,
> Aravind
>



Mime
View raw message