camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: CXFRS consumers - is there a better way?
Date Fri, 10 Sep 2010 07:49:14 GMT

You can take a look at cxfbeans[1], it does the exact thing that you 
want to do.


On 9/10/10 12:30 PM, huntc wrote:
> Hi there,
> I've been using the Camel CXFRS component and I have to say that I've found
> the learning curve steep. Perhaps this is due to not being familliar with
> CXF. Regardless, given my high level of familiarity with Camel and general
> experience, implementing a RESTful JSON endpoint was just too hard.
> My expectation is that I could express a route for consuming CXFRS requests
> using something like this:
> from("jetty:http://localhost/").to("cxfrs:consumer?services=#myService1,#myService2");
> where my service instances ("#myService1" etc.) are JAX-RS annotated
> instances configured in my Spring XML.
> All that I want CXF to do is marshall RESTful exchanges into JAX-RS
> invocations of beans as I think that this is a good separation of concerns.
> Is this possible somehow?
> Kidn regards,
> Christoppher

View raw message