Hi Tim,

The MIME-Multipart DataFormat uses javamail as the underlying technology. The 
DataFormat is using streaming as far as the DataFormat is concerned, but I fear 
that javamail as such keeps a lot of stuff in memory so there is very likely no 
full streaming with that component available. For marshalling this might work 
with streaming as long as the component providing the Camel Message with its 
attachments is stream capbable, but for unmarshalling, I think that the 
javamail component will create ByteArrayDataSources at least for the 
attachments.

Best regards
Stephan

-----Original Message-----
From: Tim Dudgeon [mailto:[email protected]] 
Sent: Dienstag, 25. Oktober 2016 14:21
To: [email protected]
Subject: MIME-Mutipart DataFormat streaming?

I was looking at the MIME-Mutipart DataFormat and it looks very useful:
https://camel.apache.org/mime-multipart.html

But I was not sure if it fully streams the data for the body and 
attachments, or whether it holds the content in memory (this is for both 
marshalling and unmarshalling).

Thanks
Tim

Reply via email to