camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vrahul <vrahul1...@gmail.com>
Subject Re: Camel CXF Jaxrs service implementation class's methods are not executing
Date Fri, 04 Apr 2014 12:01:47 GMT
Thanks Sergey,

I have also tried by creating services using cxf jaxrs server endpoint as
below 

<jaxrs:server id="userManagerREST" address="/rest/UserManager">
        <jaxrs:serviceBeans>
            <ref bean="resttestid"/>
        </jaxrs:serviceBeans>
        <jaxrs:providers>
            <bean class="org.codehaus.jackson.jaxrs.JacksonJsonProvider"/>
        </jaxrs:providers>
    </jaxrs:server>

and used in camel 

<from uri="cxfrs://bean://userManagerREST"/>

I might consider experimenting with camel restlet , http and jetty but also
those will come under the scope of project, that will be my another option,
better i am looking for a way to have control inside the implementation
class, so at least ill be able to ExceptionMapper, as of now i am not able
to use ExceptionMapper to map my custom exception with
WebApplicationException 



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-Jaxrs-service-implementation-class-s-methods-are-not-executing-tp5749733p5749794.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message