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 2f9659d50a9 Regen
2f9659d50a9 is described below
commit 2f9659d50a94073f4905925f770970edc82a8442
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Sep 14 14:55:39 2022 +0200
Regen
---
.../camel/springboot/catalog/components/imap.json | 4 +++
.../camel/springboot/catalog/components/imaps.json | 4 +++
.../camel/springboot/catalog/components/pop3.json | 4 +++
.../camel/springboot/catalog/components/pop3s.json | 4 +++
.../camel/springboot/catalog/components/smtp.json | 4 +++
.../camel/springboot/catalog/components/smtps.json | 4 +++
.../camel-mail-starter/src/main/docs/mail.json | 12 +++++++++
.../springboot/MailComponentConfiguration.java | 31 ++++++++++++++++++++++
8 files changed, 67 insertions(+)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/imap.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/imap.json
index 3976a1eb9c3..c8c09d90af2 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/imap.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/imap.json
@@ -39,6 +39,8 @@
"failOnDuplicateFileAttachment": { "kind": "property", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the
mail [...]
"fetchSize": { "kind": "property", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "property", "displayName": "Folder Name", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "INBOX", "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "property", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the atta [...]
+ "handleDuplicateAttachmentNames": { "kind": "property", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachments [...]
"mapMailMessage": { "kind": "property", "displayName": "Map Mail Message",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/head [...]
"bcc": { "kind": "property", "displayName": "Bcc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the BCC email
address. Separate multiple email addresses with comma." },
"cc": { "kind": "property", "displayName": "Cc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the CC email
address. Separate multiple email addresses with comma." },
@@ -104,6 +106,8 @@
"failOnDuplicateFileAttachment": { "kind": "parameter", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the mai
[...]
"fetchSize": { "kind": "parameter", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "parameter", "displayName": "Folder Name",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "INBOX",
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "parameter", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the att [...]
+ "handleDuplicateAttachmentNames": { "kind": "parameter", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachment [...]
"mailUidGenerator": { "kind": "parameter", "displayName": "Mail Uid
Generator", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.component.mail.MailUidGenerator", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
MailUidGenerator that allows to use custom logic to generate UUID of the mail
message." },
"mapMailMessage": { "kind": "parameter", "displayName": "Map Mail
Message", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/hea [...]
"pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/imaps.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/imaps.json
index 2c763e29041..cb564ca6e7f 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/imaps.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/imaps.json
@@ -39,6 +39,8 @@
"failOnDuplicateFileAttachment": { "kind": "property", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the
mail [...]
"fetchSize": { "kind": "property", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "property", "displayName": "Folder Name", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "INBOX", "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "property", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the atta [...]
+ "handleDuplicateAttachmentNames": { "kind": "property", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachments [...]
"mapMailMessage": { "kind": "property", "displayName": "Map Mail Message",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/head [...]
"bcc": { "kind": "property", "displayName": "Bcc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the BCC email
address. Separate multiple email addresses with comma." },
"cc": { "kind": "property", "displayName": "Cc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the CC email
address. Separate multiple email addresses with comma." },
@@ -104,6 +106,8 @@
"failOnDuplicateFileAttachment": { "kind": "parameter", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the mai
[...]
"fetchSize": { "kind": "parameter", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "parameter", "displayName": "Folder Name",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "INBOX",
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "parameter", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the att [...]
+ "handleDuplicateAttachmentNames": { "kind": "parameter", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachment [...]
"mailUidGenerator": { "kind": "parameter", "displayName": "Mail Uid
Generator", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.component.mail.MailUidGenerator", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
MailUidGenerator that allows to use custom logic to generate UUID of the mail
message." },
"mapMailMessage": { "kind": "parameter", "displayName": "Map Mail
Message", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/hea [...]
"pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pop3.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pop3.json
index 51453b19654..6c59512192b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pop3.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pop3.json
@@ -39,6 +39,8 @@
"failOnDuplicateFileAttachment": { "kind": "property", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the
mail [...]
"fetchSize": { "kind": "property", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "property", "displayName": "Folder Name", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "INBOX", "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "property", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the atta [...]
+ "handleDuplicateAttachmentNames": { "kind": "property", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachments [...]
"mapMailMessage": { "kind": "property", "displayName": "Map Mail Message",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/head [...]
"bcc": { "kind": "property", "displayName": "Bcc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the BCC email
address. Separate multiple email addresses with comma." },
"cc": { "kind": "property", "displayName": "Cc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the CC email
address. Separate multiple email addresses with comma." },
@@ -104,6 +106,8 @@
"failOnDuplicateFileAttachment": { "kind": "parameter", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the mai
[...]
"fetchSize": { "kind": "parameter", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "parameter", "displayName": "Folder Name",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "INBOX",
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "parameter", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the att [...]
+ "handleDuplicateAttachmentNames": { "kind": "parameter", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachment [...]
"mailUidGenerator": { "kind": "parameter", "displayName": "Mail Uid
Generator", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.component.mail.MailUidGenerator", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
MailUidGenerator that allows to use custom logic to generate UUID of the mail
message." },
"mapMailMessage": { "kind": "parameter", "displayName": "Map Mail
Message", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/hea [...]
"pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pop3s.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pop3s.json
index 64fa05f3173..3751cc4143b 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pop3s.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/pop3s.json
@@ -39,6 +39,8 @@
"failOnDuplicateFileAttachment": { "kind": "property", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the
mail [...]
"fetchSize": { "kind": "property", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "property", "displayName": "Folder Name", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "INBOX", "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "property", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the atta [...]
+ "handleDuplicateAttachmentNames": { "kind": "property", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachments [...]
"mapMailMessage": { "kind": "property", "displayName": "Map Mail Message",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/head [...]
"bcc": { "kind": "property", "displayName": "Bcc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the BCC email
address. Separate multiple email addresses with comma." },
"cc": { "kind": "property", "displayName": "Cc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the CC email
address. Separate multiple email addresses with comma." },
@@ -104,6 +106,8 @@
"failOnDuplicateFileAttachment": { "kind": "parameter", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the mai
[...]
"fetchSize": { "kind": "parameter", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "parameter", "displayName": "Folder Name",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "INBOX",
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "parameter", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the att [...]
+ "handleDuplicateAttachmentNames": { "kind": "parameter", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachment [...]
"mailUidGenerator": { "kind": "parameter", "displayName": "Mail Uid
Generator", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.component.mail.MailUidGenerator", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
MailUidGenerator that allows to use custom logic to generate UUID of the mail
message." },
"mapMailMessage": { "kind": "parameter", "displayName": "Map Mail
Message", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/hea [...]
"pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smtp.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smtp.json
index 9adedcbe9b6..4bc5b891964 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smtp.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smtp.json
@@ -39,6 +39,8 @@
"failOnDuplicateFileAttachment": { "kind": "property", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the
mail [...]
"fetchSize": { "kind": "property", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "property", "displayName": "Folder Name", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "INBOX", "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "property", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the atta [...]
+ "handleDuplicateAttachmentNames": { "kind": "property", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachments [...]
"mapMailMessage": { "kind": "property", "displayName": "Map Mail Message",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/head [...]
"bcc": { "kind": "property", "displayName": "Bcc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the BCC email
address. Separate multiple email addresses with comma." },
"cc": { "kind": "property", "displayName": "Cc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the CC email
address. Separate multiple email addresses with comma." },
@@ -104,6 +106,8 @@
"failOnDuplicateFileAttachment": { "kind": "parameter", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the mai
[...]
"fetchSize": { "kind": "parameter", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "parameter", "displayName": "Folder Name",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "INBOX",
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "parameter", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the att [...]
+ "handleDuplicateAttachmentNames": { "kind": "parameter", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachment [...]
"mailUidGenerator": { "kind": "parameter", "displayName": "Mail Uid
Generator", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.component.mail.MailUidGenerator", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
MailUidGenerator that allows to use custom logic to generate UUID of the mail
message." },
"mapMailMessage": { "kind": "parameter", "displayName": "Map Mail
Message", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/hea [...]
"pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smtps.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smtps.json
index b1ce9ef7257..f00ca7c175c 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smtps.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smtps.json
@@ -39,6 +39,8 @@
"failOnDuplicateFileAttachment": { "kind": "property", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the
mail [...]
"fetchSize": { "kind": "property", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "property", "displayName": "Folder Name", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "INBOX", "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "property", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the atta [...]
+ "handleDuplicateAttachmentNames": { "kind": "property", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachments [...]
"mapMailMessage": { "kind": "property", "displayName": "Map Mail Message",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/head [...]
"bcc": { "kind": "property", "displayName": "Bcc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the BCC email
address. Separate multiple email addresses with comma." },
"cc": { "kind": "property", "displayName": "Cc", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Sets the CC email
address. Separate multiple email addresses with comma." },
@@ -104,6 +106,8 @@
"failOnDuplicateFileAttachment": { "kind": "parameter", "displayName":
"Fail On Duplicate File Attachment", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Whether to fail processing the mail if the mai
[...]
"fetchSize": { "kind": "parameter", "displayName": "Fetch Size", "group":
"consumer (advanced)", "label": "consumer,advanced", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "defaultValue": -1, "configurationClass":
"org.apache.camel.component.mail.MailConfiguration", "configurationField":
"configuration", "description": "Sets the maximum number of messages to consume
during a poll. This can be [...]
"folderName": { "kind": "parameter", "displayName": "Folder Name",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "INBOX",
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "The folder to poll." },
+ "generateMissingAttachmentNames": { "kind": "parameter", "displayName":
"Generate Missing Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set this to 'uuid' to
set a UUID for the filename of the att [...]
+ "handleDuplicateAttachmentNames": { "kind": "parameter", "displayName":
"Handle Duplicate Attachment Names", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Set the strategy to
handle duplicate filenames of attachment [...]
"mailUidGenerator": { "kind": "parameter", "displayName": "Mail Uid
Generator", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.component.mail.MailUidGenerator", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
MailUidGenerator that allows to use custom logic to generate UUID of the mail
message." },
"mapMailMessage": { "kind": "parameter", "displayName": "Map Mail
Message", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"configurationClass": "org.apache.camel.component.mail.MailConfiguration",
"configurationField": "configuration", "description": "Specifies whether Camel
should map the received mail message to Camel body\/hea [...]
"pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation [...]
diff --git a/components-starter/camel-mail-starter/src/main/docs/mail.json
b/components-starter/camel-mail-starter/src/main/docs/mail.json
index be155034526..c0e31dfd408 100644
--- a/components-starter/camel-mail-starter/src/main/docs/mail.json
+++ b/components-starter/camel-mail-starter/src/main/docs/mail.json
@@ -181,6 +181,18 @@
"sourceType":
"org.apache.camel.component.mail.springboot.MailComponentConfiguration",
"defaultValue": "camel@localhost"
},
+ {
+ "name": "camel.component.mail.generate-missing-attachment-names",
+ "type": "java.lang.String",
+ "description": "Set this to 'uuid' to set a UUID for the filename of the
attachment if no filename was set",
+ "sourceType":
"org.apache.camel.component.mail.springboot.MailComponentConfiguration"
+ },
+ {
+ "name": "camel.component.mail.handle-duplicate-attachment-names",
+ "type": "java.lang.String",
+ "description": "Set the strategy to handle duplicate filenames of
attachments never: attachments that have a filename which is already present in
the attachments will be ignored unless failOnDuplicateFileAttachment is set to
true uuidPrefix: this will prefix the duplicate attachment filenames each with
a uuid and underscore (uuid_)",
+ "sourceType":
"org.apache.camel.component.mail.springboot.MailComponentConfiguration"
+ },
{
"name": "camel.component.mail.handle-failed-message",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
b/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
index 3a98f5da542..3a4e6316d5d 100644
---
a/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
+++
b/components-starter/camel-mail-starter/src/main/java/org/apache/camel/component/mail/springboot/MailComponentConfiguration.java
@@ -145,6 +145,19 @@ public class MailComponentConfiguration
* The folder to poll.
*/
private String folderName = "INBOX";
+ /**
+ * Set this to 'uuid' to set a UUID for the filename of the attachment if
no
+ * filename was set
+ */
+ private String generateMissingAttachmentNames;
+ /**
+ * Set the strategy to handle duplicate filenames of attachments never:
+ * attachments that have a filename which is already present in the
+ * attachments will be ignored unless failOnDuplicateFileAttachment is set
+ * to true uuidPrefix: this will prefix the duplicate attachment filenames
+ * each with a uuid and underscore (uuid_)
+ */
+ private String handleDuplicateAttachmentNames;
/**
* Specifies whether Camel should map the received mail message to Camel
* body/headers/attachments. If set to true, the body of the mail message
is
@@ -435,6 +448,24 @@ public class MailComponentConfiguration
this.folderName = folderName;
}
+ public String getGenerateMissingAttachmentNames() {
+ return generateMissingAttachmentNames;
+ }
+
+ public void setGenerateMissingAttachmentNames(
+ String generateMissingAttachmentNames) {
+ this.generateMissingAttachmentNames = generateMissingAttachmentNames;
+ }
+
+ public String getHandleDuplicateAttachmentNames() {
+ return handleDuplicateAttachmentNames;
+ }
+
+ public void setHandleDuplicateAttachmentNames(
+ String handleDuplicateAttachmentNames) {
+ this.handleDuplicateAttachmentNames = handleDuplicateAttachmentNames;
+ }
+
public Boolean getMapMailMessage() {
return mapMailMessage;
}