This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch man in repository https://gitbox.apache.org/repos/asf/camel.git
commit 676f9889fd53eb20e2dfd51b32b694548eb403c2 Author: Claus Ibsen <[email protected]> AuthorDate: Tue Jul 29 07:18:08 2025 +0200 CAMEL-22285: platform-http-main - Dev consoles should be registered as management endpoints --- .../camel/component/platform/http/main/MainHttpServer.java | 12 ++++++------ .../component/platform/http/main/ManagementHttpServer.java | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/MainHttpServer.java b/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/MainHttpServer.java index 234cef965bd..2d0c28182b8 100644 --- a/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/MainHttpServer.java +++ b/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/MainHttpServer.java @@ -175,7 +175,7 @@ public class MainHttpServer extends ServiceSupport implements CamelContextAware, configuration.getBodyHandler().setUploadsDirectory(fileUploadDirectory); } - @ManagedAttribute(description = "Whether info is enabled (/q/info)") + @ManagedAttribute(description = "Whether info is enabled") @Deprecated(since = "4.12.0") public boolean isInfoEnabled() { return infoEnabled; @@ -220,7 +220,7 @@ public class MainHttpServer extends ServiceSupport implements CamelContextAware, return staticEnabled; } - @ManagedAttribute(description = "Whether dev console is enabled (/q/dev)") + @ManagedAttribute(description = "Whether dev console is enabled") @Deprecated(since = "4.12.0") public boolean isDevConsoleEnabled() { return devConsoleEnabled; @@ -239,7 +239,7 @@ public class MainHttpServer extends ServiceSupport implements CamelContextAware, return healthCheckEnabled; } - @ManagedAttribute(description = "Whether Jolokia is enabled (q/jolokia)") + @ManagedAttribute(description = "Whether Jolokia is enabled") @Deprecated(since = "4.12.0") public boolean isJolokiaEnabled() { return jolokiaEnabled; @@ -296,7 +296,7 @@ public class MainHttpServer extends ServiceSupport implements CamelContextAware, this.metricsEnabled = metricsEnabled; } - @ManagedAttribute(description = "Whether file upload is enabled (only for development) (q/upload)") + @ManagedAttribute(description = "Whether file upload is enabled (only for development)") public boolean isUploadEnabled() { return uploadEnabled; } @@ -320,7 +320,7 @@ public class MainHttpServer extends ServiceSupport implements CamelContextAware, this.uploadSourceDir = uploadSourceDir; } - @ManagedAttribute(description = "Whether file download is enabled (q/download)") + @ManagedAttribute(description = "Whether file download is enabled") public boolean isDownloadEnabled() { return downloadEnabled; } @@ -332,7 +332,7 @@ public class MainHttpServer extends ServiceSupport implements CamelContextAware, this.downloadEnabled = downloadEnabled; } - @ManagedAttribute(description = "Whether send message is enabled (q/send)") + @ManagedAttribute(description = "Whether send message is enabled") public boolean isSendEnabled() { return sendEnabled; } diff --git a/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/ManagementHttpServer.java b/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/ManagementHttpServer.java index 9063452af11..6adabac1153 100644 --- a/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/ManagementHttpServer.java +++ b/components/camel-platform-http-main/src/main/java/org/apache/camel/component/platform/http/main/ManagementHttpServer.java @@ -148,7 +148,7 @@ public class ManagementHttpServer extends ServiceSupport implements CamelContext configuration.getBodyHandler().setUploadsDirectory(fileUploadDirectory); } - @ManagedAttribute(description = "Whether info is enabled (/observe/info)") + @ManagedAttribute(description = "Whether info is enabled") public boolean isInfoEnabled() { return infoEnabled; } @@ -157,7 +157,7 @@ public class ManagementHttpServer extends ServiceSupport implements CamelContext this.infoEnabled = infoEnabled; } - @ManagedAttribute(description = "Whether dev console is enabled (/observe/dev)") + @ManagedAttribute(description = "Whether dev console is enabled") public boolean isDevConsoleEnabled() { return devConsoleEnabled; } @@ -174,7 +174,7 @@ public class ManagementHttpServer extends ServiceSupport implements CamelContext return healthCheckEnabled; } - @ManagedAttribute(description = "Whether Jolokia is enabled (observe/jolokia)") + @ManagedAttribute(description = "Whether Jolokia is enabled") public boolean isJolokiaEnabled() { return jolokiaEnabled; }
