ppalaga commented on a change in pull request #226: Use MainSupport as base for 
running Camel
URL: https://github.com/apache/camel-quarkus/pull/226#discussion_r331745033
 
 

 ##########
 File path: 
extensions/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelConfig.java
 ##########
 @@ -55,6 +47,21 @@
          */
         @ConfigItem(defaultValue = "false")
         public boolean disableXml;
+
+        /**
+         * Disable camel-main.
+         * When main is disabled, routes won't be automatically be loaded and
+         * started and the entire lifecycle of the Camel Context is under user
+         * control.
+         */
+        @ConfigItem(defaultValue = "false")
+        public boolean disableMain;
 
 Review comment:
   I'd personaly vote for discontinuing the bad practice now and eventually 
rename the other props later.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to