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

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


The following commit(s) were added to refs/heads/main by this push:
     new 58457f2  Regen for commit d63cbfb0dbb0bcf5dc3c430f7178e93e280626a9
58457f2 is described below

commit 58457f29e0c176296f6e7a7587476866fb0358e4
Author: lburgazzoli <lburgazz...@users.noreply.github.com>
AuthorDate: Mon Jan 10 17:02:31 2022 +0000

    Regen for commit d63cbfb0dbb0bcf5dc3c430f7178e93e280626a9
    
    Signed-off-by: GitHub <nore...@github.com>
---
 .../src/main/resources/kamelets/slack-source.kamelet.yaml    | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/slack-source.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/slack-source.kamelet.yaml
index eda8f27..1c86c56 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/slack-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/slack-source.kamelet.yaml
@@ -49,11 +49,17 @@ spec:
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
         - urn:camel:group:credentials
+      delay:
+        title: Delay
+        description: The delay between polls
+        type: string
+        example: "1s"
+        delay: "{{?delay}}"
   types:
     out:
       mediaType: application/json
   dependencies:
-  - "camel:jackson"
+  - "camel:gson"
   - "camel:slack"
   - "camel:kamelet"
   flow:
@@ -61,7 +67,9 @@ spec:
       uri: "slack:{{channel}}"
       parameters:
         token: "{{token}}"
+        delay: "{{?delay}}"
       steps:
       - marshal:
-          json: {}
+          json:
+            library: "Gson"
       - to: "kamelet:sink"

Reply via email to