You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2022/08/19 11:35:36 UTC

[camel-k-examples] branch main updated (b18cac2 -> 3134825)

This is an automated email from the ASF dual-hosted git repository.

tsato pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k-examples.git


    from b18cac2  add indentation in kafka example
     new 9de9f12  improve readme
     new 3134825  update readme

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 generic-examples/languages/README.md | 27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)


[camel-k-examples] 01/02: improve readme

Posted by ts...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k-examples.git

commit 9de9f12d5e3f142ca68f67ee89b99d8a8ace906e
Author: Kuthumi Pepple <ku...@gmail.com>
AuthorDate: Fri Aug 19 06:34:06 2022 +0100

    improve readme
---
 generic-examples/languages/README.md | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/generic-examples/languages/README.md b/generic-examples/languages/README.md
index 1d70af4..09a40a2 100644
--- a/generic-examples/languages/README.md
+++ b/generic-examples/languages/README.md
@@ -1,3 +1,23 @@
-# Supported languages Camel K examples
+# Supported languages for writing Camel K integrations
 
-Find useful examples about how to develop a Camel K integration in `Java`, `Javascript`, `Groovy`, `XML` and `YAML`.
\ No newline at end of file
+Contains useful examples on how to develop a Camel K integration in `Java`, `Javascript`, `Groovy`, `XML`, `Kotlin` and `YAML`.
+
+You can find more information about Apache Camel and Apache Camel K on the [official Camel website](https://camel.apache.org).
+
+## Before you begin
+
+Read the general instructions in the [root README.md file](/README.md) for setting up your environment and the Kubernetes cluster before looking at this example.
+
+Make sure you've read the [installation instructions](https://camel.apache.org/camel-k/latest/installation/installation.html) for your specific
+cluster before starting the example.
+
+## Understanding the examples
+- [routes.kts](./routes.kts): defines a route that logs a message every second
+- [routes.yaml](./hello.xml): defines a route that every 5 secs, transforms the message content to uppercase and logs it.
+- [simple.js](./simple.js): logs message periodically, the multiline query parameter is set to true, thus each information is output on a newline
+
+## Running the Examples
+To simply run an integration, execute `kamel run [file to run]`. For example:
+```
+kamel run routes.yaml
+```
\ No newline at end of file


[camel-k-examples] 02/02: update readme

Posted by ts...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k-examples.git

commit 313482543fb042ee1c2793ad4ced5799a9e4b9f8
Author: Kuthumi Pepple <ku...@gmail.com>
AuthorDate: Fri Aug 19 10:20:16 2022 +0100

    update readme
---
 generic-examples/languages/README.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/generic-examples/languages/README.md b/generic-examples/languages/README.md
index 09a40a2..20f0851 100644
--- a/generic-examples/languages/README.md
+++ b/generic-examples/languages/README.md
@@ -1,6 +1,6 @@
 # Supported languages for writing Camel K integrations
 
-Contains useful examples on how to develop a Camel K integration in `Java`, `Javascript`, `Groovy`, `XML`, `Kotlin` and `YAML`.
+Contains useful examples on how to develop a Camel K integration in `Java`, `JavaScript`, `Groovy`, `XML`, `Kotlin` and `YAML`.
 
 You can find more information about Apache Camel and Apache Camel K on the [official Camel website](https://camel.apache.org).
 
@@ -14,7 +14,10 @@ cluster before starting the example.
 ## Understanding the examples
 - [routes.kts](./routes.kts): defines a route that logs a message every second
 - [routes.yaml](./hello.xml): defines a route that every 5 secs, transforms the message content to uppercase and logs it.
-- [simple.js](./simple.js): logs message periodically, the multiline query parameter is set to true, thus each information is output on a newline
+- [simple.js](./simple.js): logs message periodically, the `multiline` query parameter is set to true, thus each information is output on a newline
+- [hello.xml](./hello.xml): defines a route that logs a message to a logger very 3 seconds.
+- [simple.groovy](./simple.groovy): logs a message every second, the `showAll` query parameter is set to false, thus only a limited information is shown.
+- [Sample.java](./Sample.java): defines a route that logs a message periodically.
 
 ## Running the Examples
 To simply run an integration, execute `kamel run [file to run]`. For example: