[
https://issues.apache.org/jira/browse/CAMEL-17586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-17586.
---------------------------------
Resolution: Fixed
> Camel mail consumer: Unable to handle multiple attachments with the same
> filename
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-17586
> URL: https://issues.apache.org/jira/browse/CAMEL-17586
> Project: Camel
> Issue Type: Improvement
> Components: camel-mail
> Affects Versions: 3.x
> Reporter: Manuel Shenavai
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.19.0
>
>
> If there is a mail with multiple attachments that have the same name, only
> one of the attachments will be added to the attachment map of the exchange.
> The other attachments will be ignored and only a warning will be logged.
> [https://github.com/mash-sap/camel/blob/main/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailBinding.java#L371]
> This will cause data loss.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)