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 02b8be25a9f CAMEL-19778: camel-jbang - Add DSL transform command
02b8be25a9f is described below
commit 02b8be25a9f4d5d0f5d92e8ffabe3c2b0c3b378f
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Aug 25 07:37:39 2023 +0200
CAMEL-19778: camel-jbang - Add DSL transform command
---
core/camel-spring-boot/src/main/docs/spring-boot.json | 12 ++++++------
.../camel/spring/boot/CamelConfigurationProperties.java | 9 ++++++---
2 files changed, 12 insertions(+), 9 deletions(-)
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 7b5e1f3b5c1..684a5822e27 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -607,12 +607,6 @@
"description": "If dumping is enabled then Camel will during startup
dump all loaded routes (incl rests and route templates) represented as
XML\/YAML DSL into the log. This is intended for trouble shooting or to assist
during development. Sensitive information that may be configured in the route
endpoints could potentially be included in the dump output and is therefore not
recommended being used for production usage. This requires to have
camel-xml-io\/camel-yaml-io on the classpa [...]
"sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties"
},
- {
- "name": "camel.springboot.dump-routes-directory",
- "type": "java.lang.String",
- "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",
@@ -634,6 +628,12 @@
"sourceType":
"org.apache.camel.spring.boot.CamelConfigurationProperties",
"defaultValue": true
},
+ {
+ "name": "camel.springboot.dump-routes-output",
+ "type": "java.lang.String",
+ "description": "Whether to save route dumps to an output file. If the
output is a filename, then all content is saved to this file. If the output is
a directory name, then one or more files are saved to the directory, where the
names are based on the original source file names, or auto generated names.",
+ "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties"
+ },
{
"name": "camel.springboot.dump-routes-resolve-placeholders",
"type": "java.lang.Boolean",
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 4fbf6ce6aa7..5f6bceda345 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
@@ -673,10 +673,13 @@ public class CamelConfigurationProperties extends
DefaultConfigurationProperties
private boolean dumpRoutesUriAsParameters;
/**
- * 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.
+ * Whether to save route dumps to an output file.
+ *
+ * If the output is a filename, then all content is saved to this file. If
the output is a directory name, then one
+ * or more files are saved to the directory, where the names are based on
the original source file names, or auto
+ * generated names.
*/
- private String dumpRoutesDirectory;
+ private String dumpRoutesOutput;
/**
* Sets global options that can be referenced in the camel context