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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.17.1
    • 2.19.0
    • camel-undertow
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: