You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/05/20 15:43:35 UTC

[camel] branch camel-3.20.x updated: CAMEL-19328: camel-aws2-ses - Update docs about header type

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

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


The following commit(s) were added to refs/heads/camel-3.20.x by this push:
     new 010c2b330df CAMEL-19328: camel-aws2-ses - Update docs about header type
010c2b330df is described below

commit 010c2b330dff92b1194849ee1564a5a319b66047
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat May 20 17:42:53 2023 +0200

    CAMEL-19328: camel-aws2-ses - Update docs about header type
---
 .../resources/org/apache/camel/catalog/components/aws2-ses.json      | 2 +-
 .../resources/org/apache/camel/component/aws2/ses/aws2-ses.json      | 2 +-
 .../main/java/org/apache/camel/component/aws2/ses/Ses2Constants.java | 2 +-
 .../camel/builder/endpoint/dsl/Ses2EndpointBuilderFactory.java       | 5 +++--
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-ses.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-ses.json
index c8ccfb8f2d2..4f49581b6f3 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-ses.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-ses.json
@@ -47,7 +47,7 @@
   "headers": {
     "CamelAwsSesFrom": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The sender's email address.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#FROM" },
     "CamelAwsSesMessageId": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The Amazon SES message ID.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#MESSAGE_ID" },
-    "CamelAwsSesReplyToAddresses": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "List<String>", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The reply-to email address(es) for the message.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#REPLY_TO_ADDRESSES" },
+    "CamelAwsSesReplyToAddresses": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The reply-to email address(es) for the message. Use comma to separate multiple values.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#REPLY_TO_ADDRESSES" },
     "CamelAwsSesReturnPath": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The email address to which bounce notifications are to be forwarded.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#RETURN_PATH" },
     "CamelAwsSesSubject": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The subject of the message.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#SUBJECT" },
     "CamelAwsSesTo": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "List of comma separated destination email address.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#TO" },
diff --git a/components/camel-aws/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws2/ses/aws2-ses.json b/components/camel-aws/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws2/ses/aws2-ses.json
index c8ccfb8f2d2..4f49581b6f3 100644
--- a/components/camel-aws/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws2/ses/aws2-ses.json
+++ b/components/camel-aws/camel-aws2-ses/src/generated/resources/org/apache/camel/component/aws2/ses/aws2-ses.json
@@ -47,7 +47,7 @@
   "headers": {
     "CamelAwsSesFrom": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The sender's email address.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#FROM" },
     "CamelAwsSesMessageId": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The Amazon SES message ID.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#MESSAGE_ID" },
-    "CamelAwsSesReplyToAddresses": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "List<String>", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The reply-to email address(es) for the message.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#REPLY_TO_ADDRESSES" },
+    "CamelAwsSesReplyToAddresses": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The reply-to email address(es) for the message. Use comma to separate multiple values.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#REPLY_TO_ADDRESSES" },
     "CamelAwsSesReturnPath": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The email address to which bounce notifications are to be forwarded.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#RETURN_PATH" },
     "CamelAwsSesSubject": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The subject of the message.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#SUBJECT" },
     "CamelAwsSesTo": { "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "List of comma separated destination email address.", "constantName": "org.apache.camel.component.aws2.ses.Ses2Constants#TO" },
diff --git a/components/camel-aws/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Constants.java b/components/camel-aws/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Constants.java
index fb67d779b5b..fb9dbb1c881 100644
--- a/components/camel-aws/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Constants.java
+++ b/components/camel-aws/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Constants.java
@@ -27,7 +27,7 @@ public interface Ses2Constants {
     String FROM = "CamelAwsSesFrom";
     @Metadata(description = "The Amazon SES message ID.", javaType = "String")
     String MESSAGE_ID = "CamelAwsSesMessageId";
-    @Metadata(description = "The reply-to email address(es) for the message.", javaType = "List<String>")
+    @Metadata(description = "The reply-to email address(es) for the message. Use comma to separate multiple values.", javaType = "String")
     String REPLY_TO_ADDRESSES = "CamelAwsSesReplyToAddresses";
     @Metadata(description = "The email address to which bounce notifications are to be forwarded.", javaType = "String")
     String RETURN_PATH = "CamelAwsSesReturnPath";
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Ses2EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Ses2EndpointBuilderFactory.java
index 77cda62ad2f..4198c1edf6d 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Ses2EndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Ses2EndpointBuilderFactory.java
@@ -576,9 +576,10 @@ public interface Ses2EndpointBuilderFactory {
         }
 
         /**
-         * The reply-to email address(es) for the message.
+         * The reply-to email address(es) for the message. Use comma to separate
+         * multiple values.
          * 
-         * The option is a: {@code List<String>} type.
+         * The option is a: {@code String} type.
          * 
          * Group: producer
          *