This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 7caf47a438b CAMEL-19917: camel-main/camel-jbang - Add option to ignore 
loading/compilation errors that tooling needs
7caf47a438b is described below

commit 7caf47a438b41063161a78908a1a6d1a5369c2b0
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Sep 28 13:28:21 2023 +0200

    CAMEL-19917: camel-main/camel-jbang - Add option to ignore 
loading/compilation errors that tooling needs
---
 core/camel-spring-boot/src/main/docs/spring-boot.json              | 7 +++++++
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/core/camel-spring-boot/src/main/docs/spring-boot.json 
b/core/camel-spring-boot/src/main/docs/spring-boot.json
index 684a5822e27..024bbfdf1ef 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -965,6 +965,13 @@
       "sourceType": 
"org.apache.camel.spring.boot.CamelConfigurationProperties",
       "defaultValue": true
     },
+    {
+      "name": "camel.springboot.routes-collector-ignore-loading-error",
+      "type": "java.lang.Boolean",
+      "description": "Whether the routes collector should ignore any errors 
during loading and compiling routes. This is only intended for development or 
tooling.",
+      "sourceType": 
"org.apache.camel.spring.boot.CamelConfigurationProperties",
+      "defaultValue": false
+    },
     {
       "name": "camel.springboot.routes-exclude-pattern",
       "type": "java.lang.String",
diff --git 
a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
 
b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
index 5f6bceda345..99b0e2920f6 100644
--- 
a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
+++ 
b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
@@ -759,6 +759,13 @@ public class CamelConfigurationProperties extends 
DefaultConfigurationProperties
      */
     private boolean routesCollectorEnabled = true;
 
+    /**
+     * Whether the routes collector should ignore any errors during loading 
and compiling routes.
+     *
+     * This is only intended for development or tooling.
+     */
+    private boolean routesCollectorIgnoreLoadingError;
+
     /**
      * Used for inclusive filtering of routes from directories. The exclusive 
filtering takes precedence over inclusive
      * filtering. The pattern is using Ant-path style pattern.

Reply via email to