camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: cxfrs: GET and POST handling in bean
Date Wed, 15 Aug 2012 12:06:13 GMT
On 15/08/12 04:19, paramjyotsingh wrote:
> Is it not possible to handle it somehow in camel routes. Is there any way
> Camel identifies the request type like GET, POST, PUT or DELETE as we have
> for restful service and invoke the annotated method.
>
> I know i can use JAX-RS to handle calls to implementation bean, but is it
> possible to have similar thing when i expose restful service using camel
> route and have multiple service methods defined/declared.
>
>
You can use CXF directly if you'd like, specifically, declare 
jaxrs:endpoint and use Camel transport to link to it


Other Camel HTTP-centric components may offer something too

Cheers, Sergey
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/cxfrs-GET-and-POST-handling-in-bean-tp5717342p5717362.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message