You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/09/25 17:50:06 UTC

[GitHub] [camel] davsclaus commented on a change in pull request #4299: CAMEL-15581: Fix loading of XML rest definitions with camel-main

davsclaus commented on a change in pull request #4299:
URL: https://github.com/apache/camel/pull/4299#discussion_r495142606



##########
File path: core/camel-main/src/main/java/org/apache/camel/main/DefaultRoutesCollector.java
##########
@@ -206,7 +206,7 @@ public void configure() throws Exception {
                 Set<InputStream> set = resolver.findResources(part);
                 for (InputStream is : set) {
                     log.debug("Found XML rest from location: {}", part);
-                    RestsDefinition rests = (RestsDefinition) ecc.getXMLRoutesDefinitionLoader().loadRoutesDefinition(ecc, is);
+                    RestsDefinition rests = (RestsDefinition) ecc.getXMLRoutesDefinitionLoader().loadRestsDefinition(ecc, is);

Review comment:
       Ha one of the many billion copy/paste mistakes in the world 




----------------------------------------------------------------
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.

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