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

Claus Ibsen resolved CAMEL-9089.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.15.4
                   2.16.0

> 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
>             Fix For: 2.16.0, 2.15.4
>
>
> 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)

Reply via email to