camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Storck (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10139) Multiple verbs for same resource not working in camel-undertow (rest dsl)
Date Wed, 13 Jul 2016 21:54:20 GMT

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

Steve Storck commented on CAMEL-10139:
--------------------------------------

[~davsclaus] If the registry is being populated with the URIs as the keys, how do we differentiate
between different verbs?

> 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
>
> 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.4#6332)

Mime
View raw message