org.mule.transport.email
Class MailMuleMessageFactory
java.lang.Object
org.mule.transport.AbstractMuleMessageFactory
org.mule.transport.email.MailMuleMessageFactory
- All Implemented Interfaces:
- MuleMessageFactory
public class MailMuleMessageFactory
- extends AbstractMuleMessageFactory
Method Summary |
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADER_LIST_PREFIX
public static final String HEADER_LIST_PREFIX
- See Also:
- Constant Field Values
MailMuleMessageFactory
public MailMuleMessageFactory(MuleContext context)
getSupportedTransportMessageTypes
protected Class<?>[] getSupportedTransportMessageTypes()
- Specified by:
getSupportedTransportMessageTypes
in class AbstractMuleMessageFactory
extractPayload
protected Object extractPayload(Object transportMessage,
String encoding)
throws Exception
- Specified by:
extractPayload
in class AbstractMuleMessageFactory
- Throws:
Exception
addProperties
protected void addProperties(DefaultMuleMessage muleMessage,
Object transportMessage)
throws Exception
- Overrides:
addProperties
in class AbstractMuleMessageFactory
- Throws:
Exception
addRecipientProperty
protected void addRecipientProperty(MuleMessage muleMessage,
Message mailMessage,
Message.RecipientType recipientType,
String property)
throws MessagingException
- Throws:
MessagingException
addReplyToProperty
protected void addReplyToProperty(DefaultMuleMessage muleMessage,
Message mailMessage)
addFromProperty
protected void addFromProperty(DefaultMuleMessage muleMessage,
Message mailMessage)
addSentDateProperty
protected void addSentDateProperty(DefaultMuleMessage muleMessage,
Message mailMessage)
throws MessagingException
- Throws:
MessagingException
addMailHeadersToMessageProperties
protected void addMailHeadersToMessageProperties(Message mailMessage,
DefaultMuleMessage muleMessage)
throws MessagingException
- Throws:
MessagingException
addAttachments
protected void addAttachments(DefaultMuleMessage muleMessage,
Object transportMessage)
throws Exception
- Overrides:
addAttachments
in class AbstractMuleMessageFactory
- Throws:
Exception
addAttachmentHeaders
protected void addAttachmentHeaders(String name,
Part part,
MuleMessage muleMessage)
throws MessagingException
- Throws:
MessagingException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.