aldettinger commented on code in PR #6130:
URL: https://github.com/apache/camel-quarkus/pull/6130#discussion_r1618660572


##########
extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelConfig.java:
##########
@@ -406,4 +412,96 @@ public static class EventBridgeConfig {
         @ConfigItem(defaultValue = "true")
         public boolean enabled;
     }
+
+    @ConfigGroup
+    public static class TraceConfig {
+
+        /**
+         * Enables tracer in your Camel application.
+         */
+        @ConfigItem(defaultValue = "false")
+        public boolean enabled;
+
+        /**
+         * To set the tracer in standby mode, where the tracer will be 
installed by not automatic enabled. The tracer can
+         * then later be enabled explicit from Java, JMX or tooling.
+         */
+        @ConfigItem(defaultValue = "false")
+        public boolean standby;
+
+        /**
+         * Defines how many of the last messages to keep in the tracer.
+         */
+        @ConfigItem(defaultValue = "1000")
+        public int backlogSize;
+
+        /**
+         * Whether all traced messages should be removed when the tracer is 
dumping. By default, the messages are removed,
+         * which means that dumping will not contain previous dumped messages.
+         */
+        @ConfigItem(defaultValue = "true")
+        public boolean removeOnDump;
+
+        /**
+         * To limit the message body to a maximum size in the traced message. 
Use 0 or negative value to use unlimited size.
+         */
+        @ConfigItem(defaultValue = "131072")
+        public int bodyMaxChars;
+
+        /**
+         * Whether to include the message body of stream based messages. If 
enabled then beware the stream may not be
+         * re-readable later. See more about Stream Caching.
+         */
+        @ConfigItem(defaultValue = "false")
+        public boolean bodyIncludeStreams;
+
+        /**
+         * Whether to include the message body of file based messages. The 
overhead is that the file content has to be read
+         * from the file.
+         */
+        @ConfigItem(defaultValue = "true")
+        public boolean bodyIncludeFiles;
+
+        /**
+         * Whether to include the exchange properties in the traced message
+         */
+        @ConfigItem(defaultValue = "true")
+        public boolean includeExchangeProperties;
+
+        /**
+         * Whether to include the exchange variables in the traced message
+         */
+        @ConfigItem(defaultValue = "true")
+        public boolean includeExchangeVariables;
+
+        /**
+         * Trace messages to include exception if the message failed

Review Comment:
   ```suggestion
            * Whether to include the exception in the traced message in case of 
failed exchange.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to