Manuel Shenavai created CAMEL-17586:
---------------------------------------
Summary: 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: Bug
Components: camel-mail
Affects Versions: 3.x
Reporter: Manuel Shenavai
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.1#820001)