public class SplitAttachmentsExpression
extends org.apache.camel.support.ExpressionAdapter
Expression which can be used to split a MailMessage
per attachment. For example if a mail message has 5 attachments, then this
expression will return a List<Message> that contains 5 Message
and each have a single attachment from the source MailMessage.| Constructor and Description |
|---|
SplitAttachmentsExpression() |
public Object evaluate(org.apache.camel.Exchange exchange)
evaluate in class org.apache.camel.support.ExpressionSupportApache Camel