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 2021/03/24 07:52:57 UTC

[camel-kamelets] 03/03: AWS SQS FIFO Sink Kamelet: Added autoCreateQueue option with default false

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

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

commit 82f4aba47a1eec9344d567002e9944671e6f68f6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 24 08:52:20 2021 +0100

    AWS SQS FIFO Sink Kamelet: Added autoCreateQueue option with default false
---
 aws-sqs-fifo-sink.kamelet.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/aws-sqs-fifo-sink.kamelet.yaml b/aws-sqs-fifo-sink.kamelet.yaml
index 0d27b93..dd2a427 100644
--- a/aws-sqs-fifo-sink.kamelet.yaml
+++ b/aws-sqs-fifo-sink.kamelet.yaml
@@ -44,6 +44,13 @@ spec:
         description: Use content-based deduplication (should be enabled in the SQS FIFO queue first)
         type: boolean
         default: false
+      autoCreateQueue:
+        title: Autocreate queue
+        description: Setting the autocreation of the SQS queue. 
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
   - camel-quarkus:aws2-sqs
   flow:
@@ -77,6 +84,7 @@ spec:
             - to:
                 uri: "aws2-sqs:{{queueNameOrArn}}"
                 parameters:
+                  autoCreateQueue: "{{autoCreateQueue}}"
                   accessKey: "{{accessKey}}"
                   secretKey: "{{secretKey}}"
                   region: "{{region}}"
@@ -87,6 +95,7 @@ spec:
             - to:
                 uri: "aws2-sqs:{{queueNameOrArn}}"
                 parameters:
+                  autoCreateQueue: "{{autoCreateQueue}}"
                   accessKey: "{{accessKey}}"
                   secretKey: "{{secretKey}}"
                   region: "{{region}}"