You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/08/23 08:36:03 UTC

[camel-spring-boot] branch main updated: CAMEL-19772: camel-core - Dump routes to include custom beans

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 f5af1de387f CAMEL-19772: camel-core - Dump routes to include custom beans
f5af1de387f is described below

commit f5af1de387f88240e0592459f3cddc8c8165507e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Aug 23 10:35:52 2023 +0200

    CAMEL-19772: camel-core - Dump routes to include custom beans
---
 core/camel-spring-boot/src/main/docs/spring-boot.json              | 7 +++++++
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java | 5 +++++
 2 files changed, 12 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 b1f825a0f72..7b5e1f3b5c1 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -613,6 +613,13 @@
       "description": "Whether to save route dumps to files in the given directory. The name of the files are based on original loaded resource, or an autogenerated name.",
       "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties"
     },
+    {
+      "name": "camel.springboot.dump-routes-generated-ids",
+      "type": "java.lang.Boolean",
+      "description": "Whether to include auto generated IDs in the dumped output. Default is false.",
+      "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties",
+      "defaultValue": false
+    },
     {
       "name": "camel.springboot.dump-routes-include",
       "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 46088321bd7..4fbf6ce6aa7 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
@@ -661,6 +661,11 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
      */
     private boolean dumpRoutesResolvePlaceholders = true;
 
+    /**
+     * Whether to include auto generated IDs in the dumped output. Default is false.
+     */
+    private boolean dumpRoutesGeneratedIds;
+
     /**
      * When dumping routes to YAML format, then this option controls whether endpoint URIs should be expanded into a
      * key/value parameters.