[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MailConsumer replacing identical filename attachments

Hi there!

I’m struggling with the camel-mail consumer, when it reads the MailMessage and extracts the multipart attachments.
Looking at the implementation of MailBinding.java I notice that the multipart attachments are put in an Map<String, Attachment>() causing attachments
with the same filename to be overwritten by the Map#put method.

I was wondering if this is a known issue, or something we could possibly fix?

Any advice is welcome!


- Joery Vreijsen