This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push: new af2daae5 Kamelet Options: Remove the Camel K specific part and try to make the documentation agnostic af2daae5 is described below commit af2daae5f3bed6af46b320ed7653d72ee43677ff Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Apr 30 14:09:59 2024 +0200 Kamelet Options: Remove the Camel K specific part and try to make the documentation agnostic Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../ROOT/examples/template/kamelet-options.adoc | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/examples/template/kamelet-options.adoc b/docs/modules/ROOT/examples/template/kamelet-options.adoc index 5eefc71e..63208ef1 100644 --- a/docs/modules/ROOT/examples/template/kamelet-options.adoc +++ b/docs/modules/ROOT/examples/template/kamelet-options.adoc @@ -49,7 +49,7 @@ ifeval::['{type}' == 'source'] ---- - route: from: - uri: "kamelet:\`{name}\`" + uri: "kamelet:\{name}\" parameters: . . @@ -71,7 +71,28 @@ ifeval::['{type}' == 'sink'] message: 'test' steps: - to: - uri: "kamelet:\`{name}\`" + uri: "kamelet:\{name}\" +---- +endif::[] + +ifeval::['{type}' == 'action'] +[source,yaml,subs='+attributes,macros'] +---- +- route: + from: + uri: "kamelet:timer-source" + parameters: + period: 10000 + message: 'test' + steps: + - to: + uri: "kamelet:\{name}\" + parameters: + . + . + . + - to: + uri: "kamelet:log-sink" ---- endif::[]