camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: RestFul service using camel
Date Fri, 01 Feb 2013 15:58:15 GMT
Hi
On 01/02/13 15:54, Vincent Nonnenmacher wrote:
> It is your REST container responsibility to make the routing from an URI to
> a server class/method invocation.
>
> The camel part of the construct focus only on this URI.
>
> You could use a routing strategy that map by name some URI parts to invoke
> a named method, but it still code that run on the server side.
>
I think it is possible with CXF RS producer to introspect a given class 
and its method (with CXF proxy-based client runtime), and construct HTTP 
query, though I haven't used this option.
Willem, can you give me a favor and clarify if possible ?

Thanks, Sergey

>
> On Friday, February 1, 2013, Richa wrote:
>
>> Thank you Claus. I get your point. I want to invoke a rest service hosted
>> in
>> a remote server and hence should be putting the rest url in as a to
>> endpoint.
>>
>> But i am unable to get through the format of the url to be passed as a TO
>> endpoint. Firstly i am using cxfrs component to invoke the rest service
>>
>> How do i tell camel as to which function of the rest service should we
>> invoke. My current webservice uri is
>> cxfrs://http://localhost:8080/CounterWebApp/?resourceClasses=
>> "+Hello.class.getName()
>>
>> How do i mention the method name of the rest service ?
>>
>> Appreciate your help.
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/RestFul-service-using-camel-tp5726656p5726721.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>

Mime
View raw message