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 2019/05/27 08:11:12 UTC

[camel] 02/04: CAMEL-13571 - Regen docs

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

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

commit 68c01f9e0b4631c0d12d5378a040004cd3d4f498
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon May 27 10:07:51 2019 +0200

    CAMEL-13571 - Regen docs
---
 .../camel-aws-sns/src/main/docs/aws-sns-component.adoc       |  3 ++-
 .../aws/sns/springboot/SnsComponentConfiguration.java        | 12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/components/camel-aws-sns/src/main/docs/aws-sns-component.adoc b/components/camel-aws-sns/src/main/docs/aws-sns-component.adoc
index 62fa6ed..8a4ef58 100644
--- a/components/camel-aws-sns/src/main/docs/aws-sns-component.adoc
+++ b/components/camel-aws-sns/src/main/docs/aws-sns-component.adoc
@@ -68,7 +68,7 @@ with the following path and query parameters:
 |===
 
 
-==== Query Parameters (17 parameters):
+==== Query Parameters (18 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -76,6 +76,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *amazonSNSClient* (producer) | To use the AmazonSNS as the client |  | AmazonSNS
 | *amazonSQSClient* (producer) | An SQS Client to use as bridge between SNS and SQS |  | AmazonSQS
+| *autoCreateTopic* (producer) | Setting the autocreation of the topic | true | boolean
 | *headerFilterStrategy* (producer) | To use a custom HeaderFilterStrategy to map headers to/from Camel. |  | HeaderFilterStrategy
 | *kmsMasterKeyId* (producer) | The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. |  | String
 | *messageStructure* (producer) | The message structure to use such as json |  | String
diff --git a/platforms/spring-boot/components-starter/camel-aws-sns-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-sns-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java
index 893524d..5292cf2 100644
--- a/platforms/spring-boot/components-starter/camel-aws-sns-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-aws-sns-starter/src/main/java/org/apache/camel/component/aws/sns/springboot/SnsComponentConfiguration.java
@@ -186,6 +186,10 @@ public class SnsComponentConfiguration
          * Define if Server Side Encryption is enabled or not on the topic
          */
         private Boolean serverSideEncryptionEnabled = false;
+        /**
+         * Setting the autocreation of the topic
+         */
+        private Boolean autoCreateTopic = true;
 
         public String getSubject() {
             return subject;
@@ -315,5 +319,13 @@ public class SnsComponentConfiguration
                 Boolean serverSideEncryptionEnabled) {
             this.serverSideEncryptionEnabled = serverSideEncryptionEnabled;
         }
+
+        public Boolean getAutoCreateTopic() {
+            return autoCreateTopic;
+        }
+
+        public void setAutoCreateTopic(Boolean autoCreateTopic) {
+            this.autoCreateTopic = autoCreateTopic;
+        }
     }
 }
\ No newline at end of file