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 2022/03/02 20:23:49 UTC

[GitHub] [camel] essobedo commented on a change in pull request #7091: CAMEL-17555: Flag to include/exclude routes in route templates

essobedo commented on a change in pull request #7091:
URL: https://github.com/apache/camel/pull/7091#discussion_r818072146



##########
File path: core/camel-core-engine/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
##########
@@ -871,28 +875,40 @@ public void startRouteDefinitions(List<RouteDefinition> routeDefinitions) throws
                     // need to reset auto assigned ids, so there is no clash when creating routes
                     ProcessorDefinitionHelper.resetAllAutoAssignedNodeIds(routeDefinition);
                 }
+                // Check if the route is included
+                if (includedRoute(routeDefinition)) {

Review comment:
       Need to evaluate the precondition here as we need the parameters to be set




-- 
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-unsubscribe@camel.apache.org

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