You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2021/03/24 09:07:49 UTC

[camel-kamelets] 01/04: AWS SQS Source Kamelet: Added autoCreateQueue option with default false

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

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

commit a3eef875eb7adcc47c061d90784219d20467bb04
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 24 08:50:00 2021 +0100

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

diff --git a/aws-sqs-source.kamelet.yaml b/aws-sqs-source.kamelet.yaml
index b4a2746..20e7326 100644
--- a/aws-sqs-source.kamelet.yaml
+++ b/aws-sqs-source.kamelet.yaml
@@ -46,6 +46,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
   types:
     out:
       mediaType: application/json
@@ -53,6 +60,7 @@ spec:
     from:
       uri: "aws2-sqs:{{queueNameOrArn}}"
       parameters:
+        autoCreateQueue: "{{autoCreateQueue}}"
         secretKey: "{{secretKey}}"
         accessKey: "{{accessKey}}"
         region: "{{region}}"