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

Multiple verbs for same resource not working in camel-undertow (rest dsl)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.17.1
    • Fix Version/s: 2.19.0
    • Component/s: camel-undertow
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The camel-undertow component does not seem to support multiple verbs for the same resource when using the rest dsl.

      Rest DSL Example
      rest("/example")
        .get("{pathParamHere}").to("bean:exampleBean?method=handleGet")
        .put("{pathParamHere}").to("bean:exampleBean?method=handlePut");
      

      The above example will result in only the "put" verb working, and the "get" resource not found.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                Steve973 Steve Storck
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: