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

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

commit 0d9cd77fac5a2f82e13125161c46a154fdba7514
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Sep 5 12:15:49 2024 +0200

    CAMEL-21136: Add /q/send to camel-main/camel-jbang for sending messages to 
Camel via HTTP
---
 .../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 e6eb2ba7ab6..fcf9ac76969 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
@@ -1319,7 +1319,7 @@ public class MainHttpServer extends ServiceSupport 
implements CamelContextAware,
                 jo.put("elapsed", watch.taken());
                 jo.put("status", "failed");
                 jo.put("exception",
-                        
MessageHelper.dumpExceptionAsJSonObject(e.getException()).getMap("exception"));
+                        
MessageHelper.dumpExceptionAsJSonObject(e).getMap("exception"));
             }
             if (out != null && out.getException() != null) {
                 jo.put("endpoint", target.getEndpointUri());

Reply via email to