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

acosentino 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 5204155  [create-pull-request] automated change
5204155 is described below

commit 5204155b8e2bd28015416f79e90f013db87d0ee7
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 10 00:50:09 2021 +0000

    [create-pull-request] automated change
---
 .../springboot/catalog/components/aws2-ses.json     |  8 ++++----
 .../src/main/docs/aws2-ses.json                     |  8 ++++----
 .../ses/springboot/Ses2ComponentConfiguration.java  | 21 ++++++++++-----------
 3 files changed, 18 insertions(+), 19 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ses.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ses.json
index 671e9c4..eb33304 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ses.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-ses.json
@@ -30,10 +30,10 @@
     "proxyPort": { "kind": "property", "displayName": "Proxy Port", "group": 
"producer", "label": "", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.aws2.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "To define a proxy port 
when instantiating the SES client" },
     "proxyProtocol": { "kind": "property", "displayName": "Proxy Protocol", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" 
], "deprecated": false, "autowired": false, "secret": false, "defaultValue": 
"HTTPS", "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "To define a proxy protocol when instantiating 
t [...]
     "region": { "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.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "The region in which SES 
client needs to work. When using this parameter, the configuration will expect 
the lowercase name of the region  [...]
-    "replyToAddresses": { "kind": "property", "displayName": "Reply To 
Addresses", "group": "producer", "label": "", "required": false, "type": 
"array", "javaType": "java.util.List<java.lang.String>", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "List of reply-to email address(es) for the 
message, override it using 'CamelAwsSesReplyToAddresses' [...]
+    "replyToAddresses": { "kind": "property", "displayName": "Reply To 
Addresses", "group": "producer", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "List of comma separated reply-to email 
address(es) for the message, override it using 'CamelAwsSesReplyToAddresses 
[...]
     "returnPath": { "kind": "property", "displayName": "Return Path", "group": 
"producer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.aws2.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "The email address to 
which bounce notifications are to be forwarded, override it using 
'CamelAwsSesReturnPath' header." },
     "subject": { "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.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "The subject which is 
used if the message header 'CamelAwsSesSubject' is not present." },
-    "to": { "kind": "property", "displayName": "To", "group": "producer", 
"label": "", "required": false, "type": "array", "javaType": 
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "List of destination email address. Can be 
overriden with 'CamelAwsSesTo' header." },
+    "to": { "kind": "property", "displayName": "To", "group": "producer", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.aws2.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "List of comma separated 
destination email address. Can be overriden with 'CamelAwsSesTo' header." },
     "trustAllCertificates": { "kind": "property", "displayName": "Trust All 
Certificates", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "If we want to trust all certificates in case 
of overriding the endpoint" },
     "uriEndpointOverride": { "kind": "property", "displayName": "Uri Endpoint 
Override", "group": "producer", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "Set the overriding uri endpoint. This option 
needs to be used in combination with overrideEndpoint option" },
     "useDefaultCredentialsProvider": { "kind": "property", "displayName": "Use 
Default Credentials Provider", "group": "producer", "label": "", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "Set whether the Ses 
client should expect to load credentials through a d [...]
@@ -50,10 +50,10 @@
     "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group": 
"producer", "label": "", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.aws2.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "To define a proxy port 
when instantiating the SES client" },
     "proxyProtocol": { "kind": "parameter", "displayName": "Proxy Protocol", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" 
], "deprecated": false, "autowired": false, "secret": false, "defaultValue": 
"HTTPS", "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "To define a proxy protocol when instantiating  
[...]
     "region": { "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.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "The region in which SES 
client needs to work. When using this parameter, the configuration will expect 
the lowercase name of the region [...]
-    "replyToAddresses": { "kind": "parameter", "displayName": "Reply To 
Addresses", "group": "producer", "label": "", "required": false, "type": 
"array", "javaType": "java.util.List<java.lang.String>", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "List of reply-to email address(es) for the 
message, override it using 'CamelAwsSesReplyToAddresses [...]
+    "replyToAddresses": { "kind": "parameter", "displayName": "Reply To 
Addresses", "group": "producer", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "List of comma separated reply-to email 
address(es) for the message, override it using 'CamelAwsSesReplyToAddresse [...]
     "returnPath": { "kind": "parameter", "displayName": "Return Path", 
"group": "producer", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "The email address to which bounce 
notifications are to be forwarded, override it using 'CamelAwsSesReturnPath' 
header." },
     "subject": { "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.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "The subject which is 
used if the message header 'CamelAwsSesSubject' is not present." },
-    "to": { "kind": "parameter", "displayName": "To", "group": "producer", 
"label": "", "required": false, "type": "array", "javaType": 
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "List of destination email address. Can be 
overriden with 'CamelAwsSesTo' header." },
+    "to": { "kind": "parameter", "displayName": "To", "group": "producer", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.aws2.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "List of comma separated 
destination email address. Can be overriden with 'CamelAwsSesTo' header." },
     "trustAllCertificates": { "kind": "parameter", "displayName": "Trust All 
Certificates", "group": "producer", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "If we want to trust all certificates in case 
of overriding the endpoint" },
     "uriEndpointOverride": { "kind": "parameter", "displayName": "Uri Endpoint 
Override", "group": "producer", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.ses.Ses2Configuration", "configurationField": 
"configuration", "description": "Set the overriding uri endpoint. This option 
needs to be used in combination with overrideEndpoint option" },
     "useDefaultCredentialsProvider": { "kind": "parameter", "displayName": 
"Use Default Credentials Provider", "group": "producer", "label": "", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.aws2.ses.Ses2Configuration", 
"configurationField": "configuration", "description": "Set whether the Ses 
client should expect to load credentials through a  [...]
diff --git 
a/components-starter/camel-aws2-ses-starter/src/main/docs/aws2-ses.json 
b/components-starter/camel-aws2-ses-starter/src/main/docs/aws2-ses.json
index c752261..aceb268 100644
--- a/components-starter/camel-aws2-ses-starter/src/main/docs/aws2-ses.json
+++ b/components-starter/camel-aws2-ses-starter/src/main/docs/aws2-ses.json
@@ -89,8 +89,8 @@
     },
     {
       "name": "camel.component.aws2-ses.reply-to-addresses",
-      "type": "java.util.List<java.lang.String>",
-      "description": "List of reply-to email address(es) for the message, 
override it using 'CamelAwsSesReplyToAddresses' header.",
+      "type": "java.lang.String",
+      "description": "List of comma separated reply-to email address(es) for 
the message, override it using 'CamelAwsSesReplyToAddresses' header.",
       "sourceType": 
"org.apache.camel.component.aws2.ses.springboot.Ses2ComponentConfiguration"
     },
     {
@@ -113,8 +113,8 @@
     },
     {
       "name": "camel.component.aws2-ses.to",
-      "type": "java.util.List<java.lang.String>",
-      "description": "List of destination email address. Can be overriden with 
'CamelAwsSesTo' header.",
+      "type": "java.lang.String",
+      "description": "List of comma separated destination email address. Can 
be overriden with 'CamelAwsSesTo' header.",
       "sourceType": 
"org.apache.camel.component.aws2.ses.springboot.Ses2ComponentConfiguration"
     },
     {
diff --git 
a/components-starter/camel-aws2-ses-starter/src/main/java/org/apache/camel/component/aws2/ses/springboot/Ses2ComponentConfiguration.java
 
b/components-starter/camel-aws2-ses-starter/src/main/java/org/apache/camel/component/aws2/ses/springboot/Ses2ComponentConfiguration.java
index e47e878..08eab76 100644
--- 
a/components-starter/camel-aws2-ses-starter/src/main/java/org/apache/camel/component/aws2/ses/springboot/Ses2ComponentConfiguration.java
+++ 
b/components-starter/camel-aws2-ses-starter/src/main/java/org/apache/camel/component/aws2/ses/springboot/Ses2ComponentConfiguration.java
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.component.aws2.ses.springboot;
 
-import java.util.List;
 import javax.annotation.Generated;
 import org.apache.camel.component.aws2.ses.Ses2Component;
 import org.apache.camel.component.aws2.ses.Ses2Configuration;
@@ -86,10 +85,10 @@ public class Ses2ComponentConfiguration
      */
     private String region;
     /**
-     * List of reply-to email address(es) for the message, override it using
-     * 'CamelAwsSesReplyToAddresses' header.
+     * List of comma separated reply-to email address(es) for the message,
+     * override it using 'CamelAwsSesReplyToAddresses' header.
      */
-    private List<String> replyToAddresses;
+    private String replyToAddresses;
     /**
      * The email address to which bounce notifications are to be forwarded,
      * override it using 'CamelAwsSesReturnPath' header.
@@ -101,10 +100,10 @@ public class Ses2ComponentConfiguration
      */
     private String subject;
     /**
-     * List of destination email address. Can be overriden with 'CamelAwsSesTo'
-     * header.
+     * List of comma separated destination email address. Can be overriden with
+     * 'CamelAwsSesTo' header.
      */
-    private List<String> to;
+    private String to;
     /**
      * If we want to trust all certificates in case of overriding the endpoint
      */
@@ -202,11 +201,11 @@ public class Ses2ComponentConfiguration
         this.region = region;
     }
 
-    public List<String> getReplyToAddresses() {
+    public String getReplyToAddresses() {
         return replyToAddresses;
     }
 
-    public void setReplyToAddresses(List<String> replyToAddresses) {
+    public void setReplyToAddresses(String replyToAddresses) {
         this.replyToAddresses = replyToAddresses;
     }
 
@@ -226,11 +225,11 @@ public class Ses2ComponentConfiguration
         this.subject = subject;
     }
 
-    public List<String> getTo() {
+    public String getTo() {
         return to;
     }
 
-    public void setTo(List<String> to) {
+    public void setTo(String to) {
         this.to = to;
     }
 

Reply via email to