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 27b8c5165a77bb554e209df96a5accb6dbb4b342
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Mon Feb 17 12:56:23 2020 +0100

    CAMEL-14553 - Create an AWS-SQS component based on SDK v2, regen docs
---
 .../resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json       | 4 ++--
 components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc       | 2 +-
 .../org/apache/camel/builder/component/ComponentsBuilderFactory.java  | 2 +-
 .../camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java   | 4 ++--
 core/camel-componentdsl/src/generated/resources/metadata.json         | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/components/camel-aws2-sqs/src/generated/resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json
 
b/components/camel-aws2-sqs/src/generated/resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json
index 69b07ad..656a55f 100644
--- 
a/components/camel-aws2-sqs/src/generated/resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json
+++ 
b/components/camel-aws2-sqs/src/generated/resources/org/apache/camel/component/aws2/sqs/aws2-sqs.json
@@ -5,7 +5,7 @@
     "extendsScheme": "",
     "syntax": "aws2-sqs:queueNameOrArn",
     "title": "AWS 2 Simple Queue Service",
-    "description": "The aws-sqs component is used for sending and receiving 
messages to Amazon's SQS service.",
+    "description": "The aws2-sqs component is used for sending and receiving 
messages to Amazon's SQS service.",
     "label": "cloud,messaging",
     "deprecated": false,
     "async": false,
@@ -36,7 +36,7 @@
     "protocol": { "kind": "parameter", "displayName": "Protocol", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "defaultValue": 
"https", "configurationClass": 
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField": 
"configuration", "description": "The underlying protocol used to communicate 
with SQS" },
     "proxyProtocol": { "kind": "parameter", "displayName": "Proxy Protocol", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" 
], "deprecated": false, "secret": false, "defaultValue": "HTTPS", 
"configurationClass": "org.apache.camel.component.aws2.sqs.Sqs2Configuration", 
"configurationField": "configuration", "description": "To define a proxy 
protocol when instantiating the SQS client" },
     "queueOwnerAWSAccountId": { "kind": "parameter", "displayName": "Queue 
Owner AWSAccount Id", "group": "common", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField": 
"configuration", "description": "Specify the queue owner aws account id when 
you need to connect the queue with different account owner." },
-    "region": { "kind": "parameter", "displayName": "Region", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField": 
"configuration", "description": "Specify the queue region which could be used 
with queueOwnerAWSAccountId to build the service URL. When using this 
parameter, the configuration will expect t [...]
+    "region": { "kind": "parameter", "displayName": "Region", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField": 
"configuration", "description": "The region in which ECS client needs to work. 
When using this parameter, the configuration will expect the lowercase name of 
the region (for example ap-east- [...]
     "attributeNames": { "kind": "parameter", "displayName": "Attribute Names", 
"group": "consumer", "label": "consumer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"configurationClass": "org.apache.camel.component.aws2.sqs.Sqs2Configuration", 
"configurationField": "configuration", "description": "A list of attribute 
names to receive when consuming. Multiple names can be separated by comma." },
     "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error 
Handler", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled b [...]
     "concurrentConsumers": { "kind": "parameter", "displayName": "Concurrent 
Consumers", "group": "consumer", "label": "consumer", "required": false, 
"type": "integer", "javaType": "int", "deprecated": false, "secret": false, 
"defaultValue": "1", "configurationClass": 
"org.apache.camel.component.aws2.sqs.Sqs2Configuration", "configurationField": 
"configuration", "description": "Allows you to use multiple threads to poll the 
sqs queue to increase throughput" },
diff --git a/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc 
b/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
index 4c4f9a0..15e8b3d 100644
--- a/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
+++ b/components/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc
@@ -92,7 +92,7 @@ with the following path and query parameters:
 | *protocol* (common) | The underlying protocol used to communicate with SQS | 
https | String
 | *proxyProtocol* (common) | To define a proxy protocol when instantiating the 
SQS client. The value can be one of: HTTP, HTTPS | HTTPS | Protocol
 | *queueOwnerAWSAccountId* (common) | Specify the queue owner aws account id 
when you need to connect the queue with different account owner. |  | String
-| *region* (common) | Specify the queue region which could be used with 
queueOwnerAWSAccountId to build the service URL. When using this parameter, the 
configuration will expect the capitalized name of the region (for example 
AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() |  | String
+| *region* (common) | The region in which ECS client needs to work. When using 
this parameter, the configuration will expect the lowercase name of the region 
(for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() |  | 
String
 | *attributeNames* (consumer) | A list of attribute names to receive when 
consuming. Multiple names can be separated by comma. |  | String
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled by the routing Error Handler. By default the 
consumer will use the org.apache.camel.spi.ExceptionHandler to deal with 
exceptions, that will be logged at WARN or ERROR level and ignored. | false | 
boolean
 | *concurrentConsumers* (consumer) | Allows you to use multiple threads to 
poll the sqs queue to increase throughput | 1 | int
diff --git 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index dff3880..82e2f38 100644
--- 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -599,7 +599,7 @@ public interface ComponentsBuilderFactory {
     }
     /**
      * AWS 2 Simple Queue Service (camel-aws2-sqs)
-     * The aws-sqs component is used for sending and receiving messages to
+     * The aws2-sqs component is used for sending and receiving messages to
      * Amazon's SQS service.
      * 
      * Category: cloud,messaging
diff --git 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java
 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java
index c5b574d..13d715f 100644
--- 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java
+++ 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2SqsComponentBuilderFactory.java
@@ -23,7 +23,7 @@ import org.apache.camel.builder.component.ComponentBuilder;
 import org.apache.camel.component.aws2.sqs.Sqs2Component;
 
 /**
- * The aws-sqs component is used for sending and receiving messages to Amazon's
+ * The aws2-sqs component is used for sending and receiving messages to 
Amazon's
  * SQS service.
  * 
  * Generated by camel-package-maven-plugin - do not edit this file!
@@ -33,7 +33,7 @@ public interface Aws2SqsComponentBuilderFactory {
 
     /**
      * AWS 2 Simple Queue Service (camel-aws2-sqs)
-     * The aws-sqs component is used for sending and receiving messages to
+     * The aws2-sqs component is used for sending and receiving messages to
      * Amazon's SQS service.
      * 
      * Category: cloud,messaging
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json 
b/core/camel-componentdsl/src/generated/resources/metadata.json
index cf16940..71ef8af 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -607,7 +607,7 @@
     "extendsScheme": "",
     "syntax": "aws2-sqs:queueNameOrArn",
     "title": "AWS 2 Simple Queue Service",
-    "description": "The aws-sqs component is used for sending and receiving 
messages to Amazon's SQS service.",
+    "description": "The aws2-sqs component is used for sending and receiving 
messages to Amazon's SQS service.",
     "label": "cloud,messaging",
     "deprecated": false,
     "deprecationNote": "cloud,messaging",

Reply via email to