You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Steve Storck (JIRA)" <ji...@apache.org> on 2016/07/13 10:36:20 UTC

[jira] [Created] (CAMEL-10139) Multiple verbs for same resource not working in camel-undertow (rest dsl)

Steve Storck created CAMEL-10139:
------------------------------------

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