You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hubert Hesse (JIRA)" <ji...@apache.org> on 2015/08/19 15:20:47 UTC

[jira] [Updated] (CAMEL-9089) Ambiguous URI in Rest API

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

Hubert Hesse updated CAMEL-9089:
--------------------------------
    Summary: Ambiguous URI in Rest API  (was: Ambiguuis URI in Rest API)

> 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
>            Priority: Critical
>
> 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)