You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/08/21 08:34:46 UTC
[jira] [Assigned] (CAMEL-9089) Ambiguous URI in Rest API
[ https://issues.apache.org/jira/browse/CAMEL-9089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-9089:
----------------------------------
Assignee: Claus Ibsen
> Ambiguous URI in Rest API
> -------------------------
>
> Key: CAMEL-9089
> URL: https://issues.apache.org/jira/browse/CAMEL-9089
> Project: Camel
> Issue Type: Bug
> Components: camel-servlet, rest
> Affects Versions: 2.15.2
> Environment: Windows 7, Java 8, Tomcat 8
> Reporter: Hubert Hesse
> Assignee: Claus Ibsen
>
> Configuration of multiple URIs for the same method in a REST service containing wildcards and fixed parts does not work. Example:
> {code}
> <get uri="/{uuid}/meta" ...>
> <get uri="/{uuid}/{channel}" ...>
> {code}
> This causes ServletRestServletResolveConsumerStrategy.java to identify 2
> consumerPath candidates (lines 70-77), which isn't handled afterwords (line 80). It probably should use the most specific one in this case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)