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 f69e4daad97b68de676f2136122c58699818e9d2 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue May 28 13:13:47 2019 +0200 Regen --- components/camel-aws-s3/src/main/docs/aws-s3-component.adoc | 3 ++- components/readme.adoc | 11 +---------- docs/components/modules/ROOT/pages/aws-s3-component.adoc | 11 +++++++++-- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/components/camel-aws-s3/src/main/docs/aws-s3-component.adoc b/components/camel-aws-s3/src/main/docs/aws-s3-component.adoc index a4f9757..dc540dd 100644 --- a/components/camel-aws-s3/src/main/docs/aws-s3-component.adoc +++ b/components/camel-aws-s3/src/main/docs/aws-s3-component.adoc @@ -158,7 +158,7 @@ When using Spring Boot make sure to use the following Maven dependency to have s ---- -The component supports 37 options, which are listed below. +The component supports 38 options, which are listed below. @@ -170,6 +170,7 @@ The component supports 37 options, which are listed below. | *camel.component.aws-s3.configuration.accelerate-mode-enabled* | Define if Accelerate Mode enabled is true or false | false | Boolean | *camel.component.aws-s3.configuration.access-key* | Amazon AWS Access Key | | String | *camel.component.aws-s3.configuration.amazon-s3-client* | Reference to a `com.amazonaws.services.s3.AmazonS3` in the link:registry.html[Registry]. | | AmazonS3 +| *camel.component.aws-s3.configuration.auto-create-bucket* | Setting the autocreation of the bucket | true | Boolean | *camel.component.aws-s3.configuration.autoclose-body* | If this option is true and includeBody is true, then the S3Object.close() method will be called on exchange completion. This option is strongly related to includeBody option. In case of setting includeBody to true and autocloseBody to false, it will be up to the caller to close the S3Object stream. Setting autocloseBody to true, will close the S3Object stream automatically. | true | Boolean | *camel.component.aws-s3.configuration.aws-k-m-s-key-id* | Define the id of KMS key to use in case KMS is enabled | | String | *camel.component.aws-s3.configuration.bucket-name* | Name of the bucket. The bucket will be created if it doesn't already exists. | | String diff --git a/components/readme.adoc b/components/readme.adoc index ebbbf5f..a3293e0 100644 --- a/components/readme.adoc +++ b/components/readme.adoc @@ -1,7 +1,7 @@ ==== Components // components: START -Number of Components: 296 in 233 JAR artifacts (0 deprecated) +Number of Components: 293 in 230 JAR artifacts (0 deprecated) [width="100%",cols="4,1,5",options="header"] |=== @@ -112,12 +112,6 @@ Number of Components: 296 in 233 JAR artifacts (0 deprecated) | link:camel-aws-ses/src/main/docs/aws-ses-component.adoc[AWS Simple Email Service] (camel-aws-ses) + `aws-ses:from` | 2.9 | The aws-ses component is used for sending emails with Amazon's SES service. -| link:camel-aws-sns/src/main/docs/aws-sns-component.adoc[AWS Simple Notification System] (camel-aws-sns) + -`aws-sns:topicNameOrArn` | 2.8 | The aws-sns component is used for sending messages to an Amazon Simple Notification Topic. - -| link:camel-aws-sqs/src/main/docs/aws-sqs-component.adoc[AWS Simple Queue Service] (camel-aws-sqs) + -`aws-sqs:queueNameOrArn` | 2.6 | The aws-sqs component is used for sending and receiving messages to Amazon's SQS service. - | link:camel-aws-swf/src/main/docs/aws-swf-component.adoc[AWS Simple Workflow] (camel-aws-swf) + `aws-swf:type` | 2.13 | The aws-swf component is used for managing workflows from Amazon Simple Workflow. @@ -487,9 +481,6 @@ Number of Components: 296 in 233 JAR artifacts (0 deprecated) | link:camel-jt400/src/main/docs/jt400-component.adoc[JT400] (camel-jt400) + `jt400:userID:password/systemName/objectPath.type` | 1.5 | The jt400 component allows you to exchanges messages with an AS/400 system using data queues or program call. -| link:camel-kafka/src/main/docs/kafka-component.adoc[Kafka] (camel-kafka) + -`kafka:topic` | 2.13 | The kafka component allows messages to be sent to (or consumed from) Apache Kafka brokers. - | link:camel-kubernetes/src/main/docs/kubernetes-config-maps-component.adoc[Kubernetes ConfigMap] (camel-kubernetes) + `kubernetes-config-maps:masterUrl` | 2.17 | The Kubernetes Configmaps component provides a producer to execute kubernetes configmap operations. diff --git a/docs/components/modules/ROOT/pages/aws-s3-component.adoc b/docs/components/modules/ROOT/pages/aws-s3-component.adoc index e5a3120..dc540dd 100644 --- a/docs/components/modules/ROOT/pages/aws-s3-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-s3-component.adoc @@ -81,13 +81,14 @@ with the following path and query parameters: |=== -==== Query Parameters (52 parameters): +==== Query Parameters (53 parameters): [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type | *amazonS3Client* (common) | Reference to a com.amazonaws.services.s3.AmazonS3 in the link:registry.htmlRegistry. | | AmazonS3 +| *autoCreateBucket* (common) | Setting the autocreation of the bucket | true | boolean | *pathStyleAccess* (common) | Whether or not the S3 client should use path style access | false | boolean | *policy* (common) | The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method. | | String | *proxyHost* (common) | To define a proxy host when instantiating the SQS client | | String @@ -157,7 +158,7 @@ When using Spring Boot make sure to use the following Maven dependency to have s ---- -The component supports 37 options, which are listed below. +The component supports 38 options, which are listed below. @@ -169,6 +170,7 @@ The component supports 37 options, which are listed below. | *camel.component.aws-s3.configuration.accelerate-mode-enabled* | Define if Accelerate Mode enabled is true or false | false | Boolean | *camel.component.aws-s3.configuration.access-key* | Amazon AWS Access Key | | String | *camel.component.aws-s3.configuration.amazon-s3-client* | Reference to a `com.amazonaws.services.s3.AmazonS3` in the link:registry.html[Registry]. | | AmazonS3 +| *camel.component.aws-s3.configuration.auto-create-bucket* | Setting the autocreation of the bucket | true | Boolean | *camel.component.aws-s3.configuration.autoclose-body* | If this option is true and includeBody is true, then the S3Object.close() method will be called on exchange completion. This option is strongly related to includeBody option. In case of setting includeBody to true and autocloseBody to false, it will be up to the caller to close the S3Object stream. Setting autocloseBody to true, will close the S3Object stream automatically. | true | Boolean | *camel.component.aws-s3.configuration.aws-k-m-s-key-id* | Define the id of KMS key to use in case KMS is enabled | | String | *camel.component.aws-s3.configuration.bucket-name* | Name of the bucket. The bucket will be created if it doesn't already exists. | | String @@ -505,6 +507,11 @@ This operation will list the objects in the mycamelbucket bucket This operation will return an S3Object instance related to the camelKey object in mycamelbucket bucket. +### Bucket Autocreation + +With the option `autoCreateBucket` users are able to avoid the autocreation of an S3 Bucket in case it doesn't exist. The default for this option is `true`. +If set to false any operation on a not-existent bucket in AWS won't be successful and an error will be returned. + ### Automatic detection of AmazonS3 client in registry From Camel 3.0.0-M3 the component will be able to detect the presence of an AmazonS3 bean into the registry.
