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 2019/11/12 12:57:37 UTC

[GitHub] [camel-quarkus] lburgazzoli commented on a change in pull request #400: Add an option to filter auto-discovered routes

lburgazzoli commented on a change in pull request #400: Add an option to filter auto-discovered routes
URL: https://github.com/apache/camel-quarkus/pull/400#discussion_r345189244
 
 

 ##########
 File path: extensions/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelConfig.java
 ##########
 @@ -40,5 +42,48 @@
          */
         @ConfigItem(defaultValue = "true")
         public boolean enabled;
+
+        /**
+         * Build time configuration options for routes discovery.
+         */
+        @ConfigItem
+        public RoutesDiscoveryConfig routesDiscovery;
+    }
+
+    @ConfigGroup
+    public static class RoutesDiscoveryConfig {
+        /**
+         * Enable automatic discovery of routes during static initialization.
+         */
+        @ConfigItem(defaultValue = "true")
+        public boolean enabled;
 
 Review comment:
   it is already, see https://github.com/apache/camel-quarkus/pull/400/files/e7a680d139f1e4d050cba26cb99572454976023f#diff-cd72e3ae157d3249a7dfe5705d1ef89bR50

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


With regards,
Apache Git Services