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

commit 61d602056b517114d6b0aa3a90d7df90c7ecc95d
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jun 15 12:24:28 2026 +0200

    chore: fix YAML DSL examples to use canonical form in user manual and 
yaml-dsl docs
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
index 4ac709b133cd..ba234537b7ad 100644
--- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
+++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/docs/yaml-dsl.adoc
@@ -437,15 +437,18 @@ as shown below:
               expression: "person.middlename"
               suppressExceptions: true
             steps:
-            - to: "mock:middle"
+            - to:
+                uri: mock:middle
           - jsonpath:
               expression: "person.lastname"
               suppressExceptions: true
             steps:
-            - to: "mock:last"
+            - to:
+                uri: mock:last
           otherwise:
             steps:
-              - to: "mock:other"
+              - to:
+                  uri: mock:other
 ----
 
 In the route above, the following message

Reply via email to