davsclaus commented on code in PR #10428:
URL: https://github.com/apache/camel/pull/10428#discussion_r1233315178


##########
core/camel-support/src/main/java/org/apache/camel/support/RestConsumerContextPathMatcher.java:
##########
@@ -218,6 +218,16 @@ public static ConsumerPath matchBestPath(String 
requestMethod, String requestPat
         return answer;
     }
 
+    /**
+     *
+     * @param  requestMethod The request method
+     * @param  requestPath   The request path
+     * @return               if the request method and path can escape from 
the ambiguous exception
+     */
+    private static boolean shouldEscapeFromAmbiguous(String requestMethod, 
String requestPath) {

Review Comment:
   maybe we should rename this to `canBeAmbigious`
   
   As escape you would think its about escaping characthers, eg s -> \s



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to