CAMEL-18438: camel-main - Add option to configure context description
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 33c0460..d3967bb 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.json
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.json
@@ -555,6 +555,12 @@
"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",
"description": "Whether to enable developer console (requires camel-console on classpath). The developer console is only for assisting during development. This is NOT for production usage.",
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 98b6b54..a5ac4bf 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
@@ -63,6 +63,11 @@
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.
*/
private StartupSummaryLevel startupSummaryLevel = StartupSummaryLevel.Default;