You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Manuel Shenavai (Jira)" <ji...@apache.org> on 2022/02/02 11:21:00 UTC
[jira] [Comment Edited] (CAMEL-17586) Camel mail consumer: Unable to handle multiple attachments with the same filename
[ https://issues.apache.org/jira/browse/CAMEL-17586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485718#comment-17485718 ]
Manuel Shenavai edited comment on CAMEL-17586 at 2/2/22, 11:20 AM:
-------------------------------------------------------------------
I created a pull request: [https://github.com/apache/camel/pull/6872]
Regarding code formatting, is this the formatter that should be used? It did not work well with my intellij IDE ({{{}mvn clean install -Psourcecheck still fails after using it){}}}
[https://github.com/apache/camel/blob/main/etc/eclipse/CamelCodeFormatter.xml]
was (Author: mash-sap):
I created a pull request: [https://github.com/apache/camel/pull/6872]
Regarding code formatting, is this the formatter that should be used? It did not work well with my intellij IDE ({{{}mvn clean install -Psourcecheck still fails after using it){}}}
[https://github.com/apache/camel/blob/main/etc/eclipse/CamelCodeFormatter.xml]
{{}}
> 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
> Priority: Minor
>
> 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)