public class MailMuleMessageFactory extends AbstractMuleMessageFactory
Modifier and Type | Field and Description |
---|---|
static String |
HEADER_LIST_PREFIX |
muleContext
Constructor and Description |
---|
MailMuleMessageFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAttachmentHeaders(String name,
Part part,
MuleMessage muleMessage) |
protected void |
addAttachments(DefaultMuleMessage muleMessage,
Object transportMessage) |
protected void |
addFromProperty(DefaultMuleMessage muleMessage,
Message mailMessage) |
protected void |
addMailHeadersToMessageProperties(Message mailMessage,
DefaultMuleMessage muleMessage) |
protected void |
addProperties(DefaultMuleMessage muleMessage,
Object transportMessage) |
protected void |
addRecipientProperty(MuleMessage muleMessage,
Message mailMessage,
Message.RecipientType recipientType,
String property) |
protected void |
addReplyToProperty(DefaultMuleMessage muleMessage,
Message mailMessage) |
protected void |
addSentDateProperty(DefaultMuleMessage muleMessage,
Message mailMessage) |
protected Object |
extractPayload(Object transportMessage,
String encoding) |
protected Class<?>[] |
getSupportedTransportMessageTypes() |
create, create, create, create, getMimeType
public static final String HEADER_LIST_PREFIX
protected Class<?>[] getSupportedTransportMessageTypes()
getSupportedTransportMessageTypes
in class AbstractMuleMessageFactory
protected Object extractPayload(Object transportMessage, String encoding) throws Exception
extractPayload
in class AbstractMuleMessageFactory
Exception
protected void addProperties(DefaultMuleMessage muleMessage, Object transportMessage) throws Exception
addProperties
in class AbstractMuleMessageFactory
Exception
protected void addRecipientProperty(MuleMessage muleMessage, Message mailMessage, Message.RecipientType recipientType, String property) throws MessagingException
MessagingException
protected void addReplyToProperty(DefaultMuleMessage muleMessage, Message mailMessage)
protected void addFromProperty(DefaultMuleMessage muleMessage, Message mailMessage)
protected void addSentDateProperty(DefaultMuleMessage muleMessage, Message mailMessage) throws MessagingException
MessagingException
protected void addMailHeadersToMessageProperties(Message mailMessage, DefaultMuleMessage muleMessage) throws MessagingException
MessagingException
protected void addAttachments(DefaultMuleMessage muleMessage, Object transportMessage) throws Exception
addAttachments
in class AbstractMuleMessageFactory
Exception
protected void addAttachmentHeaders(String name, Part part, MuleMessage muleMessage) throws MessagingException
MessagingException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.