squakez commented on code in PR #5497:
URL: https://github.com/apache/camel-k/pull/5497#discussion_r1599523117


##########
docs/modules/ROOT/pages/index.adoc:
##########
@@ -24,18 +24,23 @@ Users of Camel K can instantly run integration code written 
in Camel DSL on thei
 [[how-it-works]]
 == How It Works
 
-Just write a _helloworld.groovy_ integration file with the following content:
-
-```groovy
-from('timer:tick?period=3000')
-  .setBody().constant('Hello world from Camel K')
-  .to('log:info')
+Just write a _helloworld.yaml_ integration file with the following content:
+
+```yaml
+- from:
+    uri: "timer:yaml"

Review Comment:
   I'd leave the `timer:tick` instead. Any newcomer may confuse the name of the 
component with the DSL.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to