You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/02 11:36:00 UTC

[jira] [Resolved] (CAMEL-13950) better endpointdsl for rest

     [ https://issues.apache.org/jira/browse/CAMEL-13950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-13950.
---------------------------------
    Resolution: Won't Fix

> better endpointdsl for rest
> ---------------------------
>
>                 Key: CAMEL-13950
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13950
>             Project: Camel
>          Issue Type: Improvement
>          Components: rest
>            Reporter: Luca Burgazzoli
>            Priority: Minor
>
> We should have a better "fluent dsl" for rest services, as today we have something like
> {code:java}
>     rest("/v1").get("/api").to(""...)
> {code}
> It would be nice to simplify this by having an option to start from the method like:
> {code:java}
>     get("/api")
>         .accept("...")
>         .to("...")
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)