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

commit 7ac4130220e3c5e645bbd8711a9aca79184e2321
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 17 09:23:05 2023 +0100

    Example for main with micrometer
---
 main-micrometer/README.adoc                               | 10 ++++++----
 main-micrometer/src/main/resources/application.properties |  2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/main-micrometer/README.adoc b/main-micrometer/README.adoc
index 6c632ee2..cc85eff0 100644
--- a/main-micrometer/README.adoc
+++ b/main-micrometer/README.adoc
@@ -5,6 +5,9 @@ and with HTTP endpoint for exposing statistics for scraping by 
Prometheus.
 
 The application is configured in the `application.properties` file.
 
+The route is in YAML DSL and was created with Apache Camel Karavan.
+You can try Karavan with the online editor at: https://karavan.space/
+
 === Build
 
 First compile the example by executing:
@@ -38,10 +41,9 @@ This allows to use the Camel CLI to manage this application, 
such as:
 
 And then use the CLI to see status:
 
-    $camel get
-      PID   NAME                          CAMEL            PLATFORM  READY  
STATUS   AGE  TOTAL  FAILED  INFLIGHT  SINCE-LAST
-     90491  org.apache.camel.example.My…  3.19.0-SNAPSHOT  Camel      1/1   
Running  20s     11       0         0          0s
-
+    $camel ps
+      PID   NAME         CAMEL  PLATFORM  READY  STATUS   RELOAD  AGE  ROUTE  
MSG/S  TOTAL  FAIL  INFLIGHT  LAST  DELTA  SINCE-LAST
+     92545  MyCoolCamel  4.3.0  Camel      1/1   Running       0  53s    3/3   
0.00     10     0         0     0      0     4s/4s/-
 
 === Camel Web Console
 
diff --git a/main-micrometer/src/main/resources/application.properties 
b/main-micrometer/src/main/resources/application.properties
index aed6ace9..185741fd 100644
--- a/main-micrometer/src/main/resources/application.properties
+++ b/main-micrometer/src/main/resources/application.properties
@@ -23,7 +23,7 @@ camel.main.name = MyCoolCamel
 camel.main.sourceLocationEnabled=true
 
 # turn on dev console
-camel.context.dev-console=true 
+camel.context.dev-console=true
 
 # enable http server
 camel.server.enabled = true

Reply via email to