This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 99e9a99c098afb244d165b490e252d439f8037c4
Author: Pasquale Congiusti <pasquale.congiu...@gmail.com>
AuthorDate: Wed Apr 23 15:06:37 2025 +0200

    chore(core): rename camel.management
    
    For embedded mgt server properties
---
 .../camel-main-configuration-metadata.json         | 42 +++++++++++-----------
 core/camel-main/src/main/docs/main.adoc            | 42 +++++++++++-----------
 .../org/apache/camel/main/BaseMainSupport.java     | 10 +++---
 .../maven/packaging/PrepareCamelMainMojo.java      |  4 +--
 4 files changed, 49 insertions(+), 49 deletions(-)

diff --git 
a/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
 
b/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
index 760a8ac8c24..266f6b75d8a 100644
--- 
a/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
+++ 
b/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
@@ -4,7 +4,7 @@
     { "name": "camel.startupcondition", "description": "Camel Startup 
Condition configurations", "sourceType": 
"org.apache.camel.main.StartupConditionConfigurationProperties" },
     { "name": "camel.routecontroller", "description": "Camel Route Controller 
configurations", "sourceType": 
"org.apache.camel.main.RouteControllerConfigurationProperties" },
     { "name": "camel.server", "description": "Camel Embedded HTTP Server (only 
for standalone; not Spring Boot or Quarkus) configurations", "sourceType": 
"org.apache.camel.main.HttpServerConfigurationProperties" },
-    { "name": "camel.management.server", "description": "Camel Embedded HTTP 
management Server (only for standalone; not Spring Boot or Quarkus) 
configurations", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties" },
+    { "name": "camel.management", "description": "Camel Embedded HTTP 
management Server (only for standalone; not Spring Boot or Quarkus) 
configurations", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties" },
     { "name": "camel.debug", "description": "Camel Debugger configurations", 
"sourceType": "org.apache.camel.main.DebuggerConfigurationProperties" },
     { "name": "camel.trace", "description": "Camel Tracer configurations", 
"sourceType": "org.apache.camel.main.TracerConfigurationProperties" },
     { "name": "camel.ssl", "description": "Camel SSL configurations", 
"sourceType": "org.apache.camel.main.SSLConfigurationProperties" },
@@ -190,26 +190,26 @@
     { "name": "camel.lra.enabled", "description": "To enable Saga LRA", 
"sourceType": "org.apache.camel.main.LraConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": false },
     { "name": "camel.lra.localParticipantContextPath", "description": "The 
context-path for the local participant. Is default \/lra-participant", 
"sourceType": "org.apache.camel.main.LraConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "\/lra-participant" },
     { "name": "camel.lra.localParticipantUrl", "description": "The URL for the 
local participant", "sourceType": 
"org.apache.camel.main.LraConfigurationProperties", "type": "string", 
"javaType": "java.lang.String" },
-    { "name": "camel.management.server.authenticationEnabled", "description": 
"Whether to enable HTTP authentication for embedded server (for standalone 
applications; not Spring Boot or Quarkus).", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
-    { "name": "camel.management.server.authenticationPath", "description": 
"Set HTTP url path of embedded server that is protected by authentication 
configuration.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
-    { "name": "camel.management.server.basicPropertiesFile", "description": 
"Name of the file that contains basic authentication info for Vert.x file auth 
provider.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
-    { "name": "camel.management.server.devConsoleEnabled", "description": 
"Whether to enable developer console (not intended for production use). Dev 
console must also be enabled on CamelContext. For example by setting 
camel.context.dev-console=true in application.properties, or via code 
camelContext.setDevConsole(true); If enabled then you can access a basic 
developer console on context-path: \/q\/dev.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties",  [...]
-    { "name": "camel.management.server.enabled", "description": "Whether 
embedded HTTP server is enabled. By default, the server is not enabled.", 
"sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
-    { "name": "camel.management.server.healthCheckEnabled", "description": 
"Whether to enable health-check console. If enabled then you can access 
health-check status on context-path: \/q\/health (default)", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
-    { "name": "camel.management.server.healthPath", "description": "The path 
endpoint used to expose the health status", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "\/observe\/health" },
-    { "name": "camel.management.server.host", "description": "Hostname to use 
for binding embedded HTTP server", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "0.0.0.0" },
-    { "name": "camel.management.server.infoEnabled", "description": "Whether 
to enable info console. If enabled then you can see some basic Camel 
information at \/q\/info", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
-    { "name": "camel.management.server.jolokiaEnabled", "description": 
"Whether to enable jolokia. If enabled then you can access jolokia api on 
context-path: \/q\/jolokia", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
-    { "name": "camel.management.server.jolokiaPath", "description": "The path 
endpoint used to expose the jolokia data.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "\/observe\/jolokia" 
},
-    { "name": "camel.management.server.jwtKeystorePassword", "description": 
"Password from the keystore used for JWT tokens validation.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
-    { "name": "camel.management.server.jwtKeystorePath", "description": "Path 
to the keystore file used for JWT tokens validation.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
-    { "name": "camel.management.server.jwtKeystoreType", "description": "Type 
of the keystore used for JWT tokens validation (jks, pkcs12, etc.).", 
"sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
-    { "name": "camel.management.server.maxBodySize", "description": "Maximum 
HTTP body size the embedded HTTP server can accept.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"integer", "javaType": "java.lang.Long" },
-    { "name": "camel.management.server.metricsEnabled", "description": 
"Whether to enable metrics. If enabled then you can access metrics on 
context-path: \/q\/metrics (default)", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
-    { "name": "camel.management.server.path", "description": "Context-path to 
use for embedded HTTP server", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "\/" },
-    { "name": "camel.management.server.port", "description": "Port to use for 
binding embedded HTTP server", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"integer", "javaType": "int", "defaultValue": 9876 },
-    { "name": "camel.management.server.sendEnabled", "description": "Whether 
to enable sending messages to Camel via HTTP. This makes it possible to use 
Camel to send messages to Camel endpoint URIs via HTTP.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
-    { "name": "camel.management.server.useGlobalSslContextParameters", 
"description": "Whether to use global SSL configuration for securing the 
embedded HTTP server.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.management.authenticationEnabled", "description": 
"Whether to enable HTTP authentication for embedded server (for standalone 
applications; not Spring Boot or Quarkus).", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.management.authenticationPath", "description": "Set HTTP 
url path of embedded server that is protected by authentication 
configuration.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
+    { "name": "camel.management.basicPropertiesFile", "description": "Name of 
the file that contains basic authentication info for Vert.x file auth 
provider.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
+    { "name": "camel.management.devConsoleEnabled", "description": "Whether to 
enable developer console (not intended for production use). Dev console must 
also be enabled on CamelContext. For example by setting 
camel.context.dev-console=true in application.properties, or via code 
camelContext.setDevConsole(true); If enabled then you can access a basic 
developer console on context-path: \/q\/dev.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
[...]
+    { "name": "camel.management.enabled", "description": "Whether embedded 
HTTP server is enabled. By default, the server is not enabled.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.management.healthCheckEnabled", "description": "Whether 
to enable health-check console. If enabled then you can access health-check 
status on context-path: \/q\/health (default)", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.management.healthPath", "description": "The path endpoint 
used to expose the health status", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "\/observe\/health" },
+    { "name": "camel.management.host", "description": "Hostname to use for 
binding embedded HTTP server", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "0.0.0.0" },
+    { "name": "camel.management.infoEnabled", "description": "Whether to 
enable info console. If enabled then you can see some basic Camel information 
at \/q\/info", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.management.jolokiaEnabled", "description": "Whether to 
enable jolokia. If enabled then you can access jolokia api on context-path: 
\/q\/jolokia", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.management.jolokiaPath", "description": "The path 
endpoint used to expose the jolokia data.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "\/observe\/jolokia" 
},
+    { "name": "camel.management.jwtKeystorePassword", "description": "Password 
from the keystore used for JWT tokens validation.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
+    { "name": "camel.management.jwtKeystorePath", "description": "Path to the 
keystore file used for JWT tokens validation.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
+    { "name": "camel.management.jwtKeystoreType", "description": "Type of the 
keystore used for JWT tokens validation (jks, pkcs12, etc.).", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String" },
+    { "name": "camel.management.maxBodySize", "description": "Maximum HTTP 
body size the embedded HTTP server can accept.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"integer", "javaType": "java.lang.Long" },
+    { "name": "camel.management.metricsEnabled", "description": "Whether to 
enable metrics. If enabled then you can access metrics on context-path: 
\/q\/metrics (default)", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.management.path", "description": "Context-path to use for 
embedded HTTP server", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"string", "javaType": "java.lang.String", "defaultValue": "\/" },
+    { "name": "camel.management.port", "description": "Port to use for binding 
embedded HTTP server", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"integer", "javaType": "int", "defaultValue": 9876 },
+    { "name": "camel.management.sendEnabled", "description": "Whether to 
enable sending messages to Camel via HTTP. This makes it possible to use Camel 
to send messages to Camel endpoint URIs via HTTP.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
+    { "name": "camel.management.useGlobalSslContextParameters", "description": 
"Whether to use global SSL configuration for securing the embedded HTTP 
server.", "sourceType": 
"org.apache.camel.main.HttpManagementServerConfigurationProperties", "type": 
"boolean", "javaType": "boolean", "defaultValue": "false" },
     { "name": "camel.metrics.baseEndpointURIExchangeEventNotifier", 
"description": "Whether to use static or dynamic values for Endpoint Name tags 
in captured metrics. By default, static values are used. When using dynamic 
tags, then a dynamic to (toD) can compute many different endpoint URIs that, 
can lead to many tags as the URI is dynamic, so use this with care if setting 
this option to false.", "sourceType": 
"org.apache.camel.main.MetricsConfigurationProperties", "type": "boolean", " 
[...]
     { "name": "camel.metrics.binders", "description": "Additional Micrometer 
binders to include such as jvm-memory, processor, jvm-thread, and so forth. 
Multiple binders can be separated by comma. The following binders currently is 
available from Micrometer: class-loader, commons-object-pool2, file-descriptor, 
hystrix-metrics-binder, jvm-compilation, jvm-gc, jvm-heap-pressure, jvm-info, 
jvm-memory, jvm-thread, log4j2, logback, processor, uptime", "sourceType": 
"org.apache.camel.main.Metr [...]
     { "name": "camel.metrics.clearOnReload", "description": "Clear the 
captured metrics data when Camel is reloading routes such as when using Camel 
JBang.", "sourceType": "org.apache.camel.main.MetricsConfigurationProperties", 
"type": "boolean", "javaType": "boolean", "defaultValue": true },
diff --git a/core/camel-main/src/main/docs/main.adoc 
b/core/camel-main/src/main/docs/main.adoc
index 8d544da22c4..221f932c7c6 100644
--- a/core/camel-main/src/main/docs/main.adoc
+++ b/core/camel-main/src/main/docs/main.adoc
@@ -224,31 +224,31 @@ The camel.server supports 28 options, which are listed 
below.
 
 
 === Camel Embedded HTTP management Server (only for standalone; not Spring 
Boot or Quarkus) configurations
-The camel.management.server supports 20 options, which are listed below.
+The camel.management supports 20 options, which are listed below.
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *camel.management.server.authentication{zwsp}Enabled* | Whether to enable 
HTTP authentication for embedded server (for standalone applications; not 
Spring Boot or Quarkus). | false | boolean
-| *camel.management.server.authentication{zwsp}Path* | Set HTTP url path of 
embedded server that is protected by authentication configuration. |  | String
-| *camel.management.server.basic{zwsp}PropertiesFile* | Name of the file that 
contains basic authentication info for Vert.x file auth provider. |  | String
-| *camel.management.server.dev{zwsp}ConsoleEnabled* | Whether to enable 
developer console (not intended for production use). Dev console must also be 
enabled on CamelContext. For example by setting camel.context.dev-console=true 
in application.properties, or via code camelContext.setDevConsole(true); If 
enabled then you can access a basic developer console on context-path: /q/dev. 
| false | boolean
-| *camel.management.server.enabled* | Whether embedded HTTP server is enabled. 
By default, the server is not enabled. | false | boolean
-| *camel.management.server.health{zwsp}CheckEnabled* | Whether to enable 
health-check console. If enabled then you can access health-check status on 
context-path: /q/health (default) | false | boolean
-| *camel.management.server.health{zwsp}Path* | The path endpoint used to 
expose the health status | /observe/health | String
-| *camel.management.server.host* | Hostname to use for binding embedded HTTP 
server | 0.0.0.0 | String
-| *camel.management.server.info{zwsp}Enabled* | Whether to enable info 
console. If enabled then you can see some basic Camel information at /q/info | 
false | boolean
-| *camel.management.server.jolokia{zwsp}Enabled* | Whether to enable jolokia. 
If enabled then you can access jolokia api on context-path: /q/jolokia | false 
| boolean
-| *camel.management.server.jolokia{zwsp}Path* | The path endpoint used to 
expose the jolokia data. | /observe/jolokia | String
-| *camel.management.server.jwt{zwsp}KeystorePassword* | Password from the 
keystore used for JWT tokens validation. |  | String
-| *camel.management.server.jwt{zwsp}KeystorePath* | Path to the keystore file 
used for JWT tokens validation. |  | String
-| *camel.management.server.jwt{zwsp}KeystoreType* | Type of the keystore used 
for JWT tokens validation (jks, pkcs12, etc.). |  | String
-| *camel.management.server.max{zwsp}BodySize* | Maximum HTTP body size the 
embedded HTTP server can accept. |  | Long
-| *camel.management.server.metrics{zwsp}Enabled* | Whether to enable metrics. 
If enabled then you can access metrics on context-path: /q/metrics (default) | 
false | boolean
-| *camel.management.server.path* | Context-path to use for embedded HTTP 
server | / | String
-| *camel.management.server.port* | Port to use for binding embedded HTTP 
server | 9876 | int
-| *camel.management.server.send{zwsp}Enabled* | Whether to enable sending 
messages to Camel via HTTP. This makes it possible to use Camel to send 
messages to Camel endpoint URIs via HTTP. | false | boolean
-| *camel.management.server.use{zwsp}GlobalSslContextParameters* | Whether to 
use global SSL configuration for securing the embedded HTTP server. | false | 
boolean
+| *camel.management.authentication{zwsp}Enabled* | Whether to enable HTTP 
authentication for embedded server (for standalone applications; not Spring 
Boot or Quarkus). | false | boolean
+| *camel.management.authentication{zwsp}Path* | Set HTTP url path of embedded 
server that is protected by authentication configuration. |  | String
+| *camel.management.basic{zwsp}PropertiesFile* | Name of the file that 
contains basic authentication info for Vert.x file auth provider. |  | String
+| *camel.management.devConsole{zwsp}Enabled* | Whether to enable developer 
console (not intended for production use). Dev console must also be enabled on 
CamelContext. For example by setting camel.context.dev-console=true in 
application.properties, or via code camelContext.setDevConsole(true); If 
enabled then you can access a basic developer console on context-path: /q/dev. 
| false | boolean
+| *camel.management.enabled* | Whether embedded HTTP server is enabled. By 
default, the server is not enabled. | false | boolean
+| *camel.management.healthCheck{zwsp}Enabled* | Whether to enable health-check 
console. If enabled then you can access health-check status on context-path: 
/q/health (default) | false | boolean
+| *camel.management.healthPath* | The path endpoint used to expose the health 
status | /observe/health | String
+| *camel.management.host* | Hostname to use for binding embedded HTTP server | 
0.0.0.0 | String
+| *camel.management.infoEnabled* | Whether to enable info console. If enabled 
then you can see some basic Camel information at /q/info | false | boolean
+| *camel.management.jolokia{zwsp}Enabled* | Whether to enable jolokia. If 
enabled then you can access jolokia api on context-path: /q/jolokia | false | 
boolean
+| *camel.management.jolokiaPath* | The path endpoint used to expose the 
jolokia data. | /observe/jolokia | String
+| *camel.management.jwtKeystore{zwsp}Password* | Password from the keystore 
used for JWT tokens validation. |  | String
+| *camel.management.jwtKeystore{zwsp}Path* | Path to the keystore file used 
for JWT tokens validation. |  | String
+| *camel.management.jwtKeystore{zwsp}Type* | Type of the keystore used for JWT 
tokens validation (jks, pkcs12, etc.). |  | String
+| *camel.management.maxBodySize* | Maximum HTTP body size the embedded HTTP 
server can accept. |  | Long
+| *camel.management.metrics{zwsp}Enabled* | Whether to enable metrics. If 
enabled then you can access metrics on context-path: /q/metrics (default) | 
false | boolean
+| *camel.management.path* | Context-path to use for embedded HTTP server | / | 
String
+| *camel.management.port* | Port to use for binding embedded HTTP server | 
9876 | int
+| *camel.management.sendEnabled* | Whether to enable sending messages to Camel 
via HTTP. This makes it possible to use Camel to send messages to Camel 
endpoint URIs via HTTP. | false | boolean
+| *camel.management.useGlobalSsl{zwsp}ContextParameters* | Whether to use 
global SSL configuration for securing the embedded HTTP server. | false | 
boolean
 |===
 
 
diff --git 
a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java 
b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
index 01aef42405a..fcb9462eddb 100644
--- a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
+++ b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
@@ -136,7 +136,7 @@ public abstract class BaseMainSupport extends BaseService {
             "camel.context.", "camel.resilience4j.", "camel.faulttolerance.",
             "camel.rest.", "camel.vault.", "camel.threadpool.", 
"camel.health.",
             "camel.lra.", "camel.opentelemetry2.", "camel.opentelemetry.",
-            "camel.telemetryDev.", "camel.management.server.", 
"camel.metrics.", "camel.routeTemplate",
+            "camel.telemetryDev.", "camel.management.", "camel.metrics.", 
"camel.routeTemplate",
             "camel.devConsole.", "camel.variable.", "camel.beans.", 
"camel.globalOptions.",
             "camel.server.", "camel.ssl.", "camel.debug.", "camel.trace.", 
"camel.routeController." };
 
@@ -1373,10 +1373,10 @@ public abstract class BaseMainSupport extends 
BaseService {
                 String option = key.substring(13);
                 validateOptionAndValue(key, option, value);
                 httpServerProperties.put(loc, optionKey(option), value);
-            } else if (startsWithIgnoreCase(key, "camel.management.server.")) {
+            } else if (startsWithIgnoreCase(key, "camel.management.")) {
                 // grab the value
                 String value = prop.getProperty(key);
-                String option = key.substring(24);
+                String option = key.substring(17);
                 validateOptionAndValue(key, option, value);
                 httpManagementServerProperties.put(loc, optionKey(option), 
value);
             } else if (startsWithIgnoreCase(key, "camel.ssl.")) {
@@ -1625,7 +1625,7 @@ public abstract class BaseMainSupport extends BaseService 
{
         }
         if (!httpManagementServerProperties.isEmpty()) {
             httpManagementServerProperties.forEach((k, v) -> {
-                LOG.warn("Property not auto-configured: 
camel.management.server.{}={}", k, v);
+                LOG.warn("Property not auto-configured: 
camel.management.{}={}", k, v);
             });
         }
 
@@ -1921,7 +1921,7 @@ public abstract class BaseMainSupport extends BaseService 
{
 
         HttpManagementServerConfigurationProperties server = 
mainConfigurationProperties.httpManagementServer();
 
-        setPropertiesOnTarget(camelContext, server, properties, 
"camel.management.server.",
+        setPropertiesOnTarget(camelContext, server, properties, 
"camel.management.",
                 mainConfigurationProperties.isAutoConfigurationFailFast(), 
true, autoConfiguredProperties);
 
         if (!server.isEnabled()) {
diff --git 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java
 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java
index 3b6f51469f0..6212c71be64 100644
--- 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java
+++ 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java
@@ -232,7 +232,7 @@ public class PrepareCamelMainMojo extends 
AbstractGeneratorMojo {
                 } else if (file.getName().contains("HttpServer")) {
                     prefix = "camel.server.";
                 } else if (file.getName().contains("HttpManagementServer")) {
-                    prefix = "camel.management.server.";
+                    prefix = "camel.management.";
                 } else if 
(file.getName().contains("ThreadPoolProfileConfigurationProperties")) {
                     // skip this file
                     continue;
@@ -375,7 +375,7 @@ public class PrepareCamelMainMojo extends 
AbstractGeneratorMojo {
                     "Camel Embedded HTTP Server (only for standalone; not 
Spring Boot or Quarkus) configurations",
                     
"org.apache.camel.main.HttpServerConfigurationProperties"));
             model.getGroups().add(new MainGroupModel(
-                    "camel.management.server",
+                    "camel.management",
                     "Camel Embedded HTTP management Server (only for 
standalone; not Spring Boot or Quarkus) configurations",
                     
"org.apache.camel.main.HttpManagementServerConfigurationProperties"));
             model.getGroups()

Reply via email to