Rest DSL for a rest client?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Rest DSL for a rest client?

Anton-2
Hi

Is it possible to use the new Rest DSL for a rest client? If yes, are there any samples or docs to show how?

thanks and regards
Reply | Threaded
Open this post in threaded view
|

Re: Rest DSL for a rest client?

ceposta
Nope, at this time there is no implementation for a rest "producer" or
client, only the consumer which exposes REST operations.

Cheers...

On Sun, Dec 14, 2014 at 11:06 AM, Anton-2 <[hidden email]> wrote:

>
> Hi
>
> Is it possible to use the new Rest DSL for a rest client? If yes, are there
> any samples or docs to show how?
>
> thanks and regards
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Rest-DSL-for-a-rest-client-tp5760676.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


--
*Christian Posta*
http://www.christianposta.com/blog
http://fabric8.io
twitter: @christianposta
Reply | Threaded
Open this post in threaded view
|

Re: Rest DSL for a rest client?

Claus Ibsen-2
Hi

The rest-dsl is for Camel to expose rest services.

Not sure what a rest-dsl makes sense from the client point of view?

There is a producer template / pojo producing etc as a client api, you
can use. And then use any of the http components that support rest,
such as restlet. Or regular http' such as http / http4 / jetty /
netty-http.

There is also CXF-RS as a rest client using JAX-RS coding. You then do
not need Camel. Or you can use camel's cxfrs component.







On Sun, Dec 14, 2014 at 9:17 PM, Christian Posta
<[hidden email]> wrote:

> Nope, at this time there is no implementation for a rest "producer" or
> client, only the consumer which exposes REST operations.
>
> Cheers...
>
> On Sun, Dec 14, 2014 at 11:06 AM, Anton-2 <[hidden email]> wrote:
>>
>> Hi
>>
>> Is it possible to use the new Rest DSL for a rest client? If yes, are there
>> any samples or docs to show how?
>>
>> thanks and regards
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Rest-DSL-for-a-rest-client-tp5760676.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>
>
> --
> *Christian Posta*
> http://www.christianposta.com/blog
> http://fabric8.io
> twitter: @christianposta



--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [hidden email]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/