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/12/12 21:07:36 UTC

[camel] branch main updated: CAMEL-18748: camel-yaml-dsl - Add missing route-configuration in yaml schema. Fixed route-configuration to be correct.

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


The following commit(s) were added to refs/heads/main by this push:
     new e69455a727a CAMEL-18748: camel-yaml-dsl - Add missing route-configuration in yaml schema. Fixed route-configuration to be correct.
e69455a727a is described below

commit e69455a727ac7a68acbcb894d6139413cd3b8b7b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Dec 12 22:07:26 2022 +0100

    CAMEL-18748: camel-yaml-dsl - Add missing route-configuration in yaml schema. Fixed route-configuration to be correct.
---
 docs/user-manual/modules/ROOT/pages/route-configuration.adoc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/route-configuration.adoc b/docs/user-manual/modules/ROOT/pages/route-configuration.adoc
index f97bb2746e7..f784eb92c9a 100644
--- a/docs/user-manual/modules/ROOT/pages/route-configuration.adoc
+++ b/docs/user-manual/modules/ROOT/pages/route-configuration.adoc
@@ -240,7 +240,8 @@ When using YAML DSL then you can code your route configurations in YAML files as
 [source,yaml]
 ----
 - route-configuration:
-    - id: "yamlError"
+    id: "yamlError"
+    on-exception:
     - on-exception:
         handled:
           constant: "true"
@@ -385,7 +386,8 @@ And in YAML DSL:
 [source,yaml]
 ----
 - route-configuration:
-    - precondition: "{{activate}}"
+    precondition: "{{activate}}"
+    on-exception:
     - on-exception:
         exception:
           - "java.lang.IllegalArgumentException"