Hi,

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

http://camel.apache.org/cxf-bean-component.html

Willem

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

Reply via email to