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 2022/08/30 12:59:18 UTC

[camel-spring-boot] branch main updated: CAMEL-18438: camel-main - Add option to configure context description

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 05bbb13c068 CAMEL-18438: camel-main - Add option to configure context description
05bbb13c068 is described below

commit 05bbb13c0689513933cd8bdc40e60556d2613519
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Aug 30 14:59:10 2022 +0200

    CAMEL-18438: camel-main - Add option to configure context description
---
 core/camel-spring-boot/src/main/docs/spring-boot.json               | 6 ++++++
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java  | 5 +++++
 2 files changed, 11 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 33c04604f6f..d3967bb076d 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -554,6 +554,12 @@
       "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties",
       "defaultValue": false
     },
+    {
+      "name": "camel.springboot.description",
+      "type": "java.lang.String",
+      "description": "Sets the description (intended for humans) of the Camel application.",
+      "sourceType": "org.apache.camel.spring.boot.CamelConfigurationProperties"
+    },
     {
       "name": "camel.springboot.dev-console-enabled",
       "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 98b6b546a09..a5ac4bf2a55 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
@@ -62,6 +62,11 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
      */
     private String name;
 
+    /**
+     * Sets the description (intended for humans) of the Camel application.
+     */
+    private String description;
+
     /**
      * Controls the level of information logged during startup (and shutdown) of CamelContext.
      */