From 3f0b9118fd9972daea21771ce9487837330b4882 Mon Sep 17 00:00:00 2001 From: nicolaferraro Date: Mon, 5 Oct 2020 16:54:40 +0200 Subject: [PATCH] chore(e2e): clarification on kamelet syntax --- docs/modules/ROOT/pages/kamelets/kamelets.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/kamelets/kamelets.adoc b/docs/modules/ROOT/pages/kamelets/kamelets.adoc index 6a0beea699..a5d78896f4 100644 --- a/docs/modules/ROOT/pages/kamelets/kamelets.adoc +++ b/docs/modules/ROOT/pages/kamelets/kamelets.adoc @@ -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.