I looked at the this CXFRS component for Rest endpoint, it seems to me no use
to me. If I am writing Spring controllers like the sample code:
@RequestMapping("/services")
@Controller
 class MyController {

 @RequestMapping("/{id1}/resource/{id2}")
 public @ResponseBody String method1(@PathVariable String id1, @PathVariable
String id2) {
 ...
 }

}
I will be directly writing a regular web app for Restful web services with
much more control like I am doing right now, why do I need Camel plus CXFRS?
I looked restlet approach, it solved construction for <from/> but not for
<to/>, and configuration is very intrusive-it requires a separate servlet in
addition to normal Camel servlet, it also requires to change appContext.xml
and web.xml. I would use it only if it solve Restful endpoint for both
<from/> an <to/> at same time.

To me, solving dynamic construction of endpoint is only correct way to do it
inside of Camel.

--
View this message in context: 
http://camel.465427.n5.nabble.com/RESTful-web-service-support-from-Camel-tp5595408p5604193.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to