Skip to content

Commit

Permalink
Kamelet Options: Remove the Camel K specific part and try to make the…
Browse files Browse the repository at this point in the history
… documentation agnostic

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Apr 30, 2024
1 parent 137f4ca commit af2daae
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions docs/modules/ROOT/examples/template/kamelet-options.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ifeval::['{type}' == 'source']
----
- route:
from:
uri: "kamelet:\`{name}\`"
uri: "kamelet:\{name}\"
parameters:
.
.
Expand All @@ -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::[]

Expand Down

0 comments on commit af2daae

Please sign in to comment.