Skip to content

Commit

Permalink
chore(e2e): clarification on kamelet syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Oct 5, 2020
1 parent 5fb0a89 commit 3f0b911
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/modules/ROOT/pages/kamelets/kamelets.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,10 @@ spec:
----

Source and sink flows will connect to the outside route via the `kamelet:source` or `kamelet:sink` special endpoints:
- A source Kamelet must start **from** `direct:{{routeId}}`
- A sink Kamelet must contain a call **to** `direct:{{routeId}}`
- A source Kamelet must contain a call **to** `kamelet:sink`
- A sink Kamelet must start **from** `kamelet:source`

NOTE: The `kamelet:source` and `kamelet:sink` endpoints are special endpoints that are only available in Kamelet route templates and will be replaced with actual references at runtime.

Kamelets contain a **single route template** written in YAML DSL, as in the previous example.

Expand Down

0 comments on commit 3f0b911

Please sign in to comment.