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

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

commit 2e51d719eb336ce2aa79b881995396c613264dd0
Author: Christoph Deppisch <[email protected]>
AuthorDate: Tue Sep 17 11:40:06 2024 +0200

    chore: Fix AWS SQS source optional parameters
    
    (cherry picked from commit f2ad155202a23f4cfd99c70d8157a11f16ff9c2c)
---
 kamelets/aws-sqs-source.kamelet.yaml                              | 8 ++++----
 .../src/main/resources/kamelets/aws-sqs-source.kamelet.yaml       | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/kamelets/aws-sqs-source.kamelet.yaml 
b/kamelets/aws-sqs-source.kamelet.yaml
index 91de5470..90e1eefc 100644
--- a/kamelets/aws-sqs-source.kamelet.yaml
+++ b/kamelets/aws-sqs-source.kamelet.yaml
@@ -82,12 +82,12 @@ spec:
         enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", 
"ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", 
"af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", 
"ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", 
"sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", 
"ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", 
"cn-northwest-1", "us-isob-east-1", "aws-global", "a [...]
       autoCreateQueue:
         title: Autocreate Queue
-        description: Setting the autocreation of the SQS queue. 
+        description: Setting the autocreation of the SQS queue.
         type: boolean
         default: false
       amazonAWSHost:
         title: AWS Host
-        description: The hostname of the Amazon AWS cloud. 
+        description: The hostname of the Amazon AWS cloud.
         type: string
         default: amazonaws.com
       protocol:
@@ -250,7 +250,7 @@ spec:
         delay: "{{delay}}"
         greedy: "{{greedy}}"
         maxMessagesPerPoll: "{{maxMessagesPerPoll}}"
-        waitTimeSeconds: "{{waitTimeSeconds}}"
-        visibilityTimeout: "{{visibilityTimeout}}"
+        waitTimeSeconds: "{{?waitTimeSeconds}}"
+        visibilityTimeout: "{{?visibilityTimeout}}"
       steps:
       - to: "kamelet:sink"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml
index 91de5470..90e1eefc 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml
@@ -82,12 +82,12 @@ spec:
         enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", 
"ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", 
"af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", 
"ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", 
"sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", 
"ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", 
"cn-northwest-1", "us-isob-east-1", "aws-global", "a [...]
       autoCreateQueue:
         title: Autocreate Queue
-        description: Setting the autocreation of the SQS queue. 
+        description: Setting the autocreation of the SQS queue.
         type: boolean
         default: false
       amazonAWSHost:
         title: AWS Host
-        description: The hostname of the Amazon AWS cloud. 
+        description: The hostname of the Amazon AWS cloud.
         type: string
         default: amazonaws.com
       protocol:
@@ -250,7 +250,7 @@ spec:
         delay: "{{delay}}"
         greedy: "{{greedy}}"
         maxMessagesPerPoll: "{{maxMessagesPerPoll}}"
-        waitTimeSeconds: "{{waitTimeSeconds}}"
-        visibilityTimeout: "{{visibilityTimeout}}"
+        waitTimeSeconds: "{{?waitTimeSeconds}}"
+        visibilityTimeout: "{{?visibilityTimeout}}"
       steps:
       - to: "kamelet:sink"

Reply via email to