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
The following commit(s) were added to refs/heads/master by this push:
new 1dcf9dc Regen
1dcf9dc is described below
commit 1dcf9dce01e3b3237fb53ececb56c3628cbc194f
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon May 27 11:26:33 2019 +0200
Regen
---
components/camel-aws-sns/src/main/docs/aws-sns-component.adoc | 3 ++-
docs/components/modules/ROOT/pages/ahc-component.adoc | 10 +++++-----
docs/components/modules/ROOT/pages/ahc-ws-component.adoc | 5 +++--
docs/components/modules/ROOT/pages/aws-sns-component.adoc | 11 +++++++++--
4 files changed, 19 insertions(+), 10 deletions(-)
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 0127321..b8b295e 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
@@ -110,7 +110,7 @@ When using Spring Boot make sure to use the following Maven
dependency to have s
----
-The component supports 22 options, which are listed below.
+The component supports 23 options, which are listed below.
@@ -122,6 +122,7 @@ The component supports 22 options, which are listed below.
| *camel.component.aws-sns.configuration.access-key* | Amazon AWS Access Key |
| String
| *camel.component.aws-sns.configuration.amazon-s-n-s-client* | To use the
AmazonSNS as the client | | AmazonSNS
| *camel.component.aws-sns.configuration.amazon-s-q-s-client* | An SQS Client
to use as bridge between SNS and SQS | | AmazonSQS
+| *camel.component.aws-sns.configuration.auto-create-topic* | Setting the
autocreation of the topic | true | Boolean
| *camel.component.aws-sns.configuration.kms-master-key-id* | The ID of an
AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. | |
String
| *camel.component.aws-sns.configuration.message-structure* | The message
structure to use such as json | | String
| *camel.component.aws-sns.configuration.policy* | The policy for this queue |
| String
diff --git a/docs/components/modules/ROOT/pages/ahc-component.adoc
b/docs/components/modules/ROOT/pages/ahc-component.adoc
index fd0ed79..9e647b2 100644
--- a/docs/components/modules/ROOT/pages/ahc-component.adoc
+++ b/docs/components/modules/ROOT/pages/ahc-component.adoc
@@ -3,11 +3,11 @@
*Available as of Camel version 2.8*
-The *ahc:* component provides HTTP based endpoints
+The ahc: component provides HTTP based endpoints
for consuming external HTTP resources (as a client to call external
-servers using HTTP). +
- The component uses the
-https://github.com/AsyncHttpClient/async-http-client[Async Http Client]
+servers using HTTP).
+The component uses the
+https://github.com/AsyncHttpClient/async-http-client[Async Http Client]
library.
Maven users will need to add the following dependency to their `pom.xml`
@@ -36,7 +36,7 @@ Will by default use port 80 for HTTP and 443 for HTTPS.
You can append query options to the URI in the following format,
`?option=value&option=value&...`
-### AhcEndpoint Options
+### Ahc Endpoint Options
diff --git a/docs/components/modules/ROOT/pages/ahc-ws-component.adoc
b/docs/components/modules/ROOT/pages/ahc-ws-component.adoc
index d2a30d1..ad3f0cb 100644
--- a/docs/components/modules/ROOT/pages/ahc-ws-component.adoc
+++ b/docs/components/modules/ROOT/pages/ahc-ws-component.adoc
@@ -8,8 +8,9 @@ based endpoints for a client communicating with
external servers over Websocket (as a client opening a websocket
connection to an external server). +
The component uses the <<ahc-component,AHC>> component that in turn uses
-the https://github.com/AsyncHttpClient/async-http-client[Async Http
-Client] library.
+the
+https://github.com/AsyncHttpClient/async-http-client[Async Http Client]
+library.
Maven users will need to add the following dependency to
their `pom.xml` for this component:
diff --git a/docs/components/modules/ROOT/pages/aws-sns-component.adoc
b/docs/components/modules/ROOT/pages/aws-sns-component.adoc
index 62fa6ed..b8b295e 100644
--- a/docs/components/modules/ROOT/pages/aws-sns-component.adoc
+++ b/docs/components/modules/ROOT/pages/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
@@ -109,7 +110,7 @@ When using Spring Boot make sure to use the following Maven
dependency to have s
----
-The component supports 22 options, which are listed below.
+The component supports 23 options, which are listed below.
@@ -121,6 +122,7 @@ The component supports 22 options, which are listed below.
| *camel.component.aws-sns.configuration.access-key* | Amazon AWS Access Key |
| String
| *camel.component.aws-sns.configuration.amazon-s-n-s-client* | To use the
AmazonSNS as the client | | AmazonSNS
| *camel.component.aws-sns.configuration.amazon-s-q-s-client* | An SQS Client
to use as bridge between SNS and SQS | | AmazonSQS
+| *camel.component.aws-sns.configuration.auto-create-topic* | Setting the
autocreation of the topic | true | Boolean
| *camel.component.aws-sns.configuration.kms-master-key-id* | The ID of an
AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. | |
String
| *camel.component.aws-sns.configuration.message-structure* | The message
structure to use such as json | | String
| *camel.component.aws-sns.configuration.policy* | The policy for this queue |
| String
@@ -222,6 +224,11 @@
from("aws-sqs://test-camel?amazonSQSClient=#amazonSQSClient&delay=50&maxMessages
.to(...);
-------------------------------------------------
+### Topic Autocreation
+
+With the option `autoCreateTopic` users are able to avoid the autocreation of
an SNS Topic in case it doesn't exist. The default for this option is `true`.
+If set to false any operation on a not-existent topic in AWS won't be
successful and an error will be returned.
+
### Automatic detection of AmazonSNS client in registry
From Camel 3.0.0-M3 the component will be able to detect the presence of an
AmazonSNS bean into the registry.