You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/18 21:08:44 UTC
[jira] [Commented] (CAMEL-10139) Multiple verbs for same resource
not working in camel-undertow (rest dsl)
[ https://issues.apache.org/jira/browse/CAMEL-10139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15873337#comment-15873337 ]
ASF GitHub Bot commented on CAMEL-10139:
----------------------------------------
GitHub user scranton opened a pull request:
https://github.com/apache/camel/pull/1476
CAMEL-10139: added unit tests for all/most REST DSL components, and s…
…eeing that only camel-undertow throws an HTTP status code 405 on some operations
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/scranton/camel CAMEL-10139
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1476.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1476
----
commit 419558f543fb76313c59d8b0e433b69fce9843e3
Author: Scott Cranton <sc...@cranton.com>
Date: 2017-02-18T21:06:54Z
CAMEL-10139: added unit tests for all/most REST DSL components, and seeing that only camel-undertow throws an HTTP status code 405 on some operations
----
> 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)