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:36 UTC

[camel-kamelets] 10/13: aws-* kamelets: expose delay parameter where possible - AWS DDB Streams

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 9029504403f6472858e5fa1936bba2bfdf5fdc3c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri May 6 11:07:55 2022 +0200

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
index 378f128d..c1709e85 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
@@ -89,6 +89,11 @@ spec:
         x-descriptors:
           - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      delay:
+        title: Delay
+        description: Milliseconds before the next poll from database
+        type: long
+        default: 500
   types:
     out:
       mediaType: application/json
@@ -107,6 +112,7 @@ spec:
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
         uriEndpointOverride: "{{?uriEndpointOverride}}"
         overrideEndpoint: "{{overrideEndpoint}}"
+        delay: "{{delay}}"
       steps:
       - marshal:
           json: