[ https://issues.apache.org/jira/browse/CAMEL-10139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15873362#comment-15873362 ]
Scott Cranton commented on CAMEL-10139: --------------------------------------- Fixed it in camel-undertow component by normalizing paths just like undertow handles, i.e. /users and /users/ are the same path https://github.com/scranton/camel/blob/36032729b785bd17ca478db6ff21fd66f7d81ad0/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/handlers/CamelRootHandler.java#L171-L171 > Multiple verbs for same resource not working in camel-undertow (rest dsl) > ------------------------------------------------------------------------- > > Key: CAMEL-10139 > URL: https://issues.apache.org/jira/browse/CAMEL-10139 > Project: Camel > Issue Type: Bug > Components: camel-undertow > Affects Versions: 2.17.1 > Reporter: Steve Storck > Assignee: Claus Ibsen > Fix For: 2.18.0 > > > The camel-undertow component does not seem to support multiple verbs for the > same resource when using the rest dsl. > {code:title=Rest DSL Example|borderStyle=solid} > rest("/example") > .get("{pathParamHere}").to("bean:exampleBean?method=handleGet") > .put("{pathParamHere}").to("bean:exampleBean?method=handlePut"); > {code} > The above example will result in only the "put" verb working, and the "get" > resource not found. -- This message was sent by Atlassian JIRA (v6.3.15#6346)