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 2022/01/14 09:52:51 UTC

[camel-examples] branch main updated: Make main example debug friendly out of the box

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


The following commit(s) were added to refs/heads/main by this push:
     new 2cbe0c3  Make main example debug friendly out of the box
2cbe0c3 is described below

commit 2cbe0c31a6eb8ed348fb6f54538bb63da1672972
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jan 14 10:51:54 2022 +0100

    Make main example debug friendly out of the box
---
 examples/main/pom.xml                                |  4 ++++
 .../main/src/main/resources/application.properties   | 20 --------------------
 2 files changed, 4 insertions(+), 20 deletions(-)

diff --git a/examples/main/pom.xml b/examples/main/pom.xml
index b66be1d..2a5954a 100644
--- a/examples/main/pom.xml
+++ b/examples/main/pom.xml
@@ -63,6 +63,10 @@
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-quartz</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-debug</artifactId>
+        </dependency>
 
         <!-- logging -->
         <dependency>
diff --git a/examples/main/src/main/resources/application.properties b/examples/main/src/main/resources/application.properties
index f47ae27..a442f7f 100644
--- a/examples/main/src/main/resources/application.properties
+++ b/examples/main/src/main/resources/application.properties
@@ -18,11 +18,6 @@
 # to configure camel main
 # here you can configure options on camel main (see MainConfigurationProperties class)
 camel.main.name = MyCoolCamel
-camel.main.jmx-enabled = false
-
-# extended runtime statistics about bean introspection usage (java reflection)
-camel.main.bean-introspection-extended-statistics=true
-camel.main.bean-introspection-logging-level=INFO
 
 # enable tracing
 # camel.main.tracing = true
@@ -31,24 +26,9 @@ camel.main.bean-introspection-logging-level=INFO
 #camel.context.tracer.exchange-formatter.show-headers = true
 #camel.context.tracer.exchange-formatter.show-body-type = false
 
-# you can also configure camel context directly
-# camel.context.shutdown-strategy.shutdown-now-on-timeout = false
-
 # load additional property placeholders from this folder
 camel.main.file-configurations=src/main/data/*.properties
 
-# to configure Hystrix EIP (global and you need to add camel-hystrix to the classpath)
-### camel.hystrix.group-key=myGroup
-### camel.hystrix.execution-timeout-in-milliseconds=5000
-
-# to configure Rest DSL (global and you need to add camel-undertow to the classpath)
-### camel.rest.component=undertow
-### camel.rest.port=8080
-### camel.rest.component-properties[host-options.buffer-size]=8192
-
-# you can configure whether OS environment should override (=2 which is default) or as fallback (=1)
-### camel.component.properties.environment-variable-mode=1
-
 # properties used in the route
 myCron = 0/2 * * * * ?