We use Talend Open ESB 6.3 for routing emails from input mailboxes to output mailboxes.
We wrote some java pieces of code to handle attachements of the incoming mails as map in the exchange object then create the multipart/mixed object to send the final mail.
This works fine when we run the route in the Talend Studio, but we get an issue when running it into karaf container : the final mail only contains "javax.mail.internet.MimeMultipart@156bf203" in the body and it misses the orignal body and the attachements.
We've tried with cMail component or even with smtp:// in cMessagingEndpoint or cJavaDSLProcessor.
There is no issue in karaf if no attachement in the mail.
What is the best way to manager attachements in routes ?
Does this issue also repro on other build version(V 6.4)?