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:13:05 UTC

[camel-kamelets] 11/12: aws-* kamelets: expose delay parameter where possible - AWS SQS

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 9c575a7ea625a506046ae663b4ff527838f3268f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri May 6 11:10:20 2022 +0200

    aws-* kamelets: expose delay parameter where possible - AWS SQS
---
 kamelets/aws-sqs-source.kamelet.yaml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/kamelets/aws-sqs-source.kamelet.yaml b/kamelets/aws-sqs-source.kamelet.yaml
index 73b70b2e..238a3549 100644
--- a/kamelets/aws-sqs-source.kamelet.yaml
+++ b/kamelets/aws-sqs-source.kamelet.yaml
@@ -123,7 +123,12 @@ spec:
         type: boolean
         x-descriptors:
           - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
-        default: false    
+        default: false
+      delay:
+        title: Delay
+        description: Milliseconds before the next poll of the selected stream
+        type: long
+        default: 500
   dependencies:
     - "camel:aws2-sqs"
     - "camel:kamelet"
@@ -140,6 +145,7 @@ spec:
         protocol: "{{?protocol}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
         uriEndpointOverride: "{{?uriEndpointOverride}}"
-        overrideEndpoint: "{{overrideEndpoint}}"  
+        overrideEndpoint: "{{overrideEndpoint}}"
+        delay: "{{delay}}"  
       steps:
       - to: "kamelet:sink"