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.git


The following commit(s) were added to refs/heads/main by this push:
     new ca605c4c474 /q/jolokia only returns json
ca605c4c474 is described below

commit ca605c4c4746df2df868db71265d548608a85211
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Apr 30 16:55:04 2025 +0200

    /q/jolokia only returns json
---
 .../org/apache/camel/component/platform/http/main/MainHttpServer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 15d45f59937..049aad4dd4e 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
@@ -773,7 +773,7 @@ public class MainHttpServer extends ServiceSupport 
implements CamelContextAware,
         jolokia.handler(new BlockingHandlerDecorator(handler, true));
 
         platformHttpComponent.addHttpEndpoint(jolokiaPath, "GET,POST", null,
-                "text/plain,application/json", null);
+                "application/json", null);
     }
 
     protected PlatformHttpPluginRegistry resolvePlatformHttpPluginRegistry() {

Reply via email to