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
commit 425d34b4527fa1fcb63491b339527b6fca9f46bf Author: Claus Ibsen <[email protected]> AuthorDate: Fri Jun 9 21:22:43 2023 +0200 CAMEL-19307: camel-yaml-io - YAML route dumper --- core/camel-spring-boot/src/main/docs/spring-boot.json | 7 +++---- .../apache/camel/spring/boot/CamelConfigurationProperties.java | 8 ++++---- 2 files changed, 7 insertions(+), 8 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 4a108c28421..7ce8e07d8c3 100644 --- a/core/camel-spring-boot/src/main/docs/spring-boot.json +++ b/core/camel-spring-boot/src/main/docs/spring-boot.json @@ -603,10 +603,9 @@ }, { "name": "camel.springboot.dump-routes", - "type": "java.lang.Boolean", - "description": "If dumping is enabled then Camel will during startup dump all loaded routes (incl rests and route templates) represented as XML 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 to be used for production usage. This requires to have camel-xml-jaxb on the classpath to be able to du [...] - "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties", - "defaultValue": false + "type": "java.lang.String", + "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.duration-max-action", 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 d5b3087eb0c..7519d37526a 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 @@ -623,14 +623,14 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties /** * If dumping is enabled then Camel will during startup dump all loaded routes (incl rests and route templates) - * represented as XML DSL into the log. This is intended for trouble shooting or to assist during development. + * 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 to be used for production usage. + * output and is therefore not recommended being used for production usage. * - * This requires to have camel-xml-jaxb on the classpath to be able to dump the routes as XML. + * This requires to have camel-xml-io/camel-yaml-io on the classpath to be able to dump the routes as XML/YAML. */ - private boolean dumpRoutes; + private String dumpRoutes; /** * Sets global options that can be referenced in the camel context
