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

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

commit b65e761faeeba9176b8a6a1359dc178eb8768a1c
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri May 6 11:02:27 2022 +0200

    aws-* kamelets: expose delay parameter where possible - AWS Redshift
---
 .../src/main/resources/kamelets/aws-redshift-source.kamelet.yaml    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
index 78d4b1f2..9bb86db7 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
@@ -77,6 +77,11 @@ spec:
         description: A query to run on a tuple consumed
         type: string
         example: 'DELETE FROM accounts where user_id = :#user_id'
+      delay:
+        title: Delay
+        description: Milliseconds before the next poll from database
+        type: long
+        default: 500
   types:
     out:
       mediaType: application/json
@@ -104,6 +109,7 @@ spec:
       parameters:
         dataSource: "#bean:{{dsBean}}"
         onConsume: "{{?consumedQuery}}"
+        delay: "{{delay}}"
       steps:
       - marshal:
           json: 

Reply via email to