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/01/03 17:05:23 UTC
[camel-examples] branch main updated: Fixed example
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
The following commit(s) were added to refs/heads/main by this push:
new 776612f Fixed example
776612f is described below
commit 776612f3f950b00c9f581952749988503658e114
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jan 3 18:05:13 2022 +0100
Fixed example
---
examples/main-yaml/src/main/resources/routes/my-route.yaml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/examples/main-yaml/src/main/resources/routes/my-route.yaml b/examples/main-yaml/src/main/resources/routes/my-route.yaml
index 4ca6635..c0eb96d 100644
--- a/examples/main-yaml/src/main/resources/routes/my-route.yaml
+++ b/examples/main-yaml/src/main/resources/routes/my-route.yaml
@@ -17,9 +17,10 @@
- route:
id: "foo"
- from: "quartz:foo?cron={{myCron}}"
- steps:
- - to: "bean:myBean?method=hello"
- - log: "${body}"
- - to: "bean:myBean?method=bye"
- - log: "${body}"
+ from:
+ uri: "quartz:foo?cron={{myCron}}"
+ steps:
+ - to: "bean:myBean?method=hello"
+ - log: "${body}"
+ - to: "bean:myBean?method=bye"
+ - log: "${body}"