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

[camel-kamelets] 02/03: AWS SQS 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 70470f46bc65c34044f29f9b12288979f1c74cfe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 24 08:51:01 2021 +0100

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

diff --git a/aws-sqs-sink.kamelet.yaml b/aws-sqs-sink.kamelet.yaml
index aaecaf3..d4151fe 100644
--- a/aws-sqs-sink.kamelet.yaml
+++ b/aws-sqs-sink.kamelet.yaml
@@ -39,6 +39,13 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
+      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
   flow:
     from:
       uri: kamelet:source
@@ -46,6 +53,7 @@ spec:
       - to:
           uri: "aws2-sqs:{{queueNameOrArn}}"
           parameters:
+            autoCreateQueue: "{{autoCreateQueue}}"
             accessKey: "{{accessKey}}"
             secretKey: "{{secretKey}}"
             region: "{{region}}"