[ 
https://issues.apache.org/jira/browse/CAMEL-9089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-9089:
-------------------------------
    Priority: Major  (was: Critical)

> 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
>    Affects Versions: 2.15.2
>         Environment: Windows 7, Java 8, Tomcat 8
>            Reporter: Hubert Hesse
>
> Configuration of multiple URIs for the same method in a REST service 
> containing wildcards and fixed parts does not work. Example: <get 
> uri="/{uuid}/meta" ...> and <get uri="/{uuid}/{channel}" ...>
> 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)

Reply via email to