[ 
https://issues.apache.org/jira/browse/CAMEL-10139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15873338#comment-15873338
 ] 

Scott Cranton commented on CAMEL-10139:
---------------------------------------

Just created pull request - https://github.com/apache/camel/pull/1476 - with 
unit tests for most REST DSL components, and that only fails with 
camel-undertow with some of the HTTP operations returning a status code of 405

> 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)

Reply via email to