You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2022/05/17 15:02:31 UTC

[camel-quarkus-examples] branch camel-quarkus-main updated: Switch from deprecated Kamelet flow to template property

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

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


The following commit(s) were added to refs/heads/camel-quarkus-main by this push:
     new 177fe0b  Switch from deprecated Kamelet flow to template property
177fe0b is described below

commit 177fe0b5f9aa052966344f90cd8727d5f6da07ce
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue May 17 13:58:22 2022 +0100

    Switch from deprecated Kamelet flow to template property
---
 .../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
index 7304c60..4e8897f 100644
--- a/kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
+++ b/kamelet-chucknorris/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
@@ -47,7 +47,7 @@ spec:
     - "camel:timer"
     - "camel:http"
     - "camel:jsonpath"
-  flow:
+  template:
     from:
       uri: "timer:chuck"
       parameters:
@@ -56,4 +56,4 @@ spec:
         - to: "http://api.icndb.com/jokes/random"
         - set-body:
             jsonpath: "$.value.joke"
-        - to: "kamelet:sink"
\ No newline at end of file
+        - to: "kamelet:sink"