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:18:46 UTC

[jira] [Created] (CAMEL-9089) Ambiguuis URI in Rest API

Hubert Hesse created CAMEL-9089:
-----------------------------------

             Summary: Ambiguuis 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)