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


The following commit(s) were added to refs/heads/main by this push:
     new db10aaf  Fix send-test YAML DSL: move steps inside from block
db10aaf is described below

commit db10aaf94f30f880972876fa2e6c5128f61bc256
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu May 28 12:51:52 2026 +0200

    Fix send-test YAML DSL: move steps inside from block
    
    Co-Authored-By: Claude <[email protected]>
---
 send-test/send-test.yaml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/send-test/send-test.yaml b/send-test/send-test.yaml
index 91f9ded..0e4751e 100644
--- a/send-test/send-test.yaml
+++ b/send-test/send-test.yaml
@@ -2,10 +2,10 @@
     id: greet
     from:
       uri: direct:greet
-    steps:
-      - log: "Received: ${body}"
-      - setBody:
-          simple: "Hello ${body}!"
+      steps:
+        - log: "Received: ${body}"
+        - setBody:
+            simple: "Hello ${body}!"
 
 - route:
     id: ticker
@@ -13,7 +13,7 @@
       uri: timer:tick
       parameters:
         period: 5000
-    steps:
-      - setBody:
-          simple: "Tick at ${date:now:HH:mm:ss}"
-      - log: "${body}"
+      steps:
+        - setBody:
+            simple: "Tick at ${date:now:HH:mm:ss}"
+        - log: "${body}"

Reply via email to