You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/11/24 11:24:49 UTC
(camel) branch main updated: camel-core / camel-jbang - Debugguer should include stream cached body as they are safe to dump and end users must be able to seem the content during debugging.
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 a62e4a8cfba camel-core / camel-jbang - Debugguer should include stream cached body as they are safe to dump and end users must be able to seem the content during debugging.
a62e4a8cfba is described below
commit a62e4a8cfbaa0cbd198acc087afe352dbeaeb9b5
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Nov 24 12:24:35 2023 +0100
camel-core / camel-jbang - Debugguer should include stream cached body as they are safe to dump and end users must be able to seem the content during debugging.
---
.../java/org/apache/camel/impl/debugger/DefaultBacklogDebugger.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogDebugger.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogDebugger.java
index 8ccc3a2cc01..ddf5dfa51a2 100644
--- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogDebugger.java
+++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/debugger/DefaultBacklogDebugger.java
@@ -792,7 +792,7 @@ public final class DefaultBacklogDebugger extends ServiceSupport implements Back
* @return the XML
*/
private String dumpAsXml(Exchange exchange) {
- return MessageHelper.dumpAsXml(exchange.getIn(), includeExchangeProperties, true, 2, isBodyIncludeStreams(),
+ return MessageHelper.dumpAsXml(exchange.getIn(), includeExchangeProperties, true, 2, true,
isBodyIncludeStreams(), isBodyIncludeFiles(),
getBodyMaxChars());
}
@@ -804,7 +804,7 @@ public final class DefaultBacklogDebugger extends ServiceSupport implements Back
* @return the JSon
*/
private String dumpAsJSon(Exchange exchange) {
- return MessageHelper.dumpAsJSon(exchange.getIn(), includeExchangeProperties, true, 2, isBodyIncludeStreams(),
+ return MessageHelper.dumpAsJSon(exchange.getIn(), includeExchangeProperties, true, 2, true,
isBodyIncludeStreams(), isBodyIncludeFiles(),
getBodyMaxChars(), true);
}