You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/05/06 09:37:34 UTC
[camel-kamelets] 08/13: aws-* kamelets: expose delay parameter where possible - AWS Redshift
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
commit 5af216d2ddb6b887d42d665430aa223849be950c
Author: Andrea Cosentino <an...@gmail.com>
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: