Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13950

better endpointdsl for rest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • rest
    • None
    • Unknown

    Description

      We should have a better "fluent dsl" for rest services, as today we have something like

          rest("/v1").get("/api").to(""...)
      

      It would be nice to simplify this by having an option to start from the method like:

          get("/api")
              .accept("...")
              .to("...")
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: