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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new fa113d085c4 Regen
fa113d085c4 is described below

commit fa113d085c4846285e7f25e9278f021721c62884
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Aug 15 06:28:55 2023 +0200

    Regen
---
 .../apache/camel/springboot/catalog/components/aws2-sns.json |  4 ++--
 .../camel-aws2-sns-starter/src/main/docs/aws2-sns.json       |  4 ++--
 .../aws2/sns/springboot/Sns2ComponentConfiguration.java      | 12 ++++++------
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-sns.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-sns.json
index 44c3cd70b8a..61b891cf56b 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-sns.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-sns.json
@@ -31,7 +31,7 @@
     "messageStructure": { "index": 6, "kind": "property", "displayName": 
"Message Structure", "group": "producer", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The message structure to use such as json" },
     "overrideEndpoint": { "index": 7, "kind": "property", "displayName": 
"Override Endpoint", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "Set the need for overidding the endpoint. This 
option needs to be used in combination wi [...]
     "policy": { "index": 8, "kind": "property", "displayName": "Policy", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "supportFileReference": true, 
"configurationClass": "org.apache.camel.component.aws2.sns.Sns2Configuration", 
"configurationField": "configuration", "description": "The policy for this 
topic. Is loaded by default from classpath, but you [...]
-    "queueUrl": { "index": 9, "kind": "property", "displayName": "Queue Url", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The queueUrl to subscribe to" },
+    "queueArn": { "index": 9, "kind": "property", "displayName": "Queue Arn", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The ARN endpoint to subscribe to" },
     "region": { "index": 10, "kind": "property", "displayName": "Region", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The region in which SNS client needs to work. 
When using this parameter, the configuration will expect the lowercase name o 
[...]
     "serverSideEncryptionEnabled": { "index": 11, "kind": "property", 
"displayName": "Server Side Encryption Enabled", "group": "producer", "label": 
"", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.sns.Sns2Configuration", 
"configurationField": "configuration", "description": "Define if Server Side 
Encryption is enabled or not on the topic" },
     "subject": { "index": 12, "kind": "property", "displayName": "Subject", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The subject which is used if the message 
header 'CamelAwsSnsSubject' is not present." },
@@ -66,7 +66,7 @@
     "messageStructure": { "index": 6, "kind": "parameter", "displayName": 
"Message Structure", "group": "producer", "label": "", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The message structure to use such as json" },
     "overrideEndpoint": { "index": 7, "kind": "parameter", "displayName": 
"Override Endpoint", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "Set the need for overidding the endpoint. This 
option needs to be used in combination w [...]
     "policy": { "index": 8, "kind": "parameter", "displayName": "Policy", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "supportFileReference": true, 
"configurationClass": "org.apache.camel.component.aws2.sns.Sns2Configuration", 
"configurationField": "configuration", "description": "The policy for this 
topic. Is loaded by default from classpath, but yo [...]
-    "queueUrl": { "index": 9, "kind": "parameter", "displayName": "Queue Url", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The queueUrl to subscribe to" },
+    "queueArn": { "index": 9, "kind": "parameter", "displayName": "Queue Arn", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The ARN endpoint to subscribe to" },
     "region": { "index": 10, "kind": "parameter", "displayName": "Region", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The region in which SNS client needs to work. 
When using this parameter, the configuration will expect the lowercase name  
[...]
     "serverSideEncryptionEnabled": { "index": 11, "kind": "parameter", 
"displayName": "Server Side Encryption Enabled", "group": "producer", "label": 
"", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.sns.Sns2Configuration", 
"configurationField": "configuration", "description": "Define if Server Side 
Encryption is enabled or not on the topic" },
     "subject": { "index": 12, "kind": "parameter", "displayName": "Subject", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.sns.Sns2Configuration", "configurationField": 
"configuration", "description": "The subject which is used if the message 
header 'CamelAwsSnsSubject' is not present." },
diff --git 
a/components-starter/camel-aws2-sns-starter/src/main/docs/aws2-sns.json 
b/components-starter/camel-aws2-sns-starter/src/main/docs/aws2-sns.json
index 487b9c02d25..fe98fe87191 100644
--- a/components-starter/camel-aws2-sns-starter/src/main/docs/aws2-sns.json
+++ b/components-starter/camel-aws2-sns-starter/src/main/docs/aws2-sns.json
@@ -140,9 +140,9 @@
       "sourceType": 
"org.apache.camel.component.aws2.sns.springboot.Sns2ComponentConfiguration"
     },
     {
-      "name": "camel.component.aws2-sns.queue-url",
+      "name": "camel.component.aws2-sns.queue-arn",
       "type": "java.lang.String",
-      "description": "The queueUrl to subscribe to",
+      "description": "The ARN endpoint to subscribe to",
       "sourceType": 
"org.apache.camel.component.aws2.sns.springboot.Sns2ComponentConfiguration"
     },
     {
diff --git 
a/components-starter/camel-aws2-sns-starter/src/main/java/org/apache/camel/component/aws2/sns/springboot/Sns2ComponentConfiguration.java
 
b/components-starter/camel-aws2-sns-starter/src/main/java/org/apache/camel/component/aws2/sns/springboot/Sns2ComponentConfiguration.java
index 84facc5d70e..f9ca5033cf2 100644
--- 
a/components-starter/camel-aws2-sns-starter/src/main/java/org/apache/camel/component/aws2/sns/springboot/Sns2ComponentConfiguration.java
+++ 
b/components-starter/camel-aws2-sns-starter/src/main/java/org/apache/camel/component/aws2/sns/springboot/Sns2ComponentConfiguration.java
@@ -93,9 +93,9 @@ public class Sns2ComponentConfiguration
      */
     private String policy;
     /**
-     * The queueUrl to subscribe to
+     * The ARN endpoint to subscribe to
      */
-    private String queueUrl;
+    private String queueArn;
     /**
      * The region in which SNS client needs to work. When using this parameter,
      * the configuration will expect the lowercase name of the region (for
@@ -259,12 +259,12 @@ public class Sns2ComponentConfiguration
         this.policy = policy;
     }
 
-    public String getQueueUrl() {
-        return queueUrl;
+    public String getQueueArn() {
+        return queueArn;
     }
 
-    public void setQueueUrl(String queueUrl) {
-        this.queueUrl = queueUrl;
+    public void setQueueArn(String queueArn) {
+        this.queueArn = queueArn;
     }
 
     public String getRegion() {

Reply via email to