You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2020/10/01 07:58:25 UTC

[camel-k-runtime] 01/02: examples: fix route definition

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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit 060d4fe690c5813e5de196abb15ecf05536bbf7a
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Wed Sep 30 23:52:03 2020 +0200

    examples: fix route definition
---
 .../data/routes.yaml                               | 28 +++++++++++-----------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml b/examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml
index 287fd74..8c31c7d 100644
--- a/examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml
+++ b/examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml
@@ -20,22 +20,22 @@
     group: "routes"
     from:
       uri: "platform-http:/hello"
-      steps:
-        - convert-body-to:
-            type: "java.lang.String"
-        - to:
-            uri: "log:info"
+    steps:
+      - convert-body-to:
+          type: "java.lang.String"
+      - to:
+          uri: "log:info"
 - route:
     id: "flow-2"
     group: "routes"
     from:
       uri: "timer:tick"
-      parameters:
-        period: "5000"
-      steps:
-        - set-body:
-            simple: "${exchangeProperty.CamelTimerName} -> ${exchangeProperty.CamelTimerCounter}"
-        - to:
-            uri: "log:tick"
-        - log:
-            message: "{{message}}"
\ No newline at end of file
+    parameters:
+      period: "5000"
+    steps:
+      - set-body:
+          simple: "${exchangeProperty.CamelTimerName} -> ${exchangeProperty.CamelTimerCounter}"
+      - to:
+          uri: "log:tick"
+      - log:
+          message: "{{message}}"