Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.15.0
-
Patch Available
-
Moderate
Description
The existing support for splitting an email by it's attachments (org.apache.camel.component.mail.SplitAttachmentsExpression) is limiting that the attachments are still mime encoded, and cannot be easily used by the next stage in a route.
e.g.
from("pop3://james@mymailserver.com?...
.split(new SplitAttachmentsExpression())
.to("file:///myAttachmentsFolder")
doesn't work
An improved splitter that decodes the mime parts into byte arrays would be more useful