|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.providers.AbstractMessageAdapter
org.mule.providers.email.SimpleMailMessageAdapter
org.mule.providers.email.MailMessageAdapter
MailMessageAdapter is a wrapper for a javax.mail.Message that
separates multi-part mail messages, storing all but the first part as attachments
to the underlying AbstractMessageAdapter. Alternatively, you can use
SimpleMailMessageAdapter, which stores the message as a single
entity.
| Field Summary | |
static String |
ATTACHMENT_HEADERS_PROPERTY_POSTFIX
|
| Fields inherited from class org.mule.providers.email.SimpleMailMessageAdapter |
HEADER_LIST_PREFIX |
| Fields inherited from class org.mule.providers.AbstractMessageAdapter |
attachments, DEFAULT_FAILFAST, encoding, exceptionPayload, id, logger, properties |
| Fields inherited from interface org.mule.impl.ThreadSafeAccess |
READ, WRITE |
| Constructor Summary | |
MailMessageAdapter(Object object)
|
|
| Method Summary | |
protected void |
addAttachmentHeaders(String name,
Part part)
|
protected void |
handleMessage(Message message)
Store only the first body part directly; add further parts as attachments. |
| Methods inherited from class org.mule.providers.email.SimpleMailMessageAdapter |
getPayload, getPayloadAsBytes, getPayloadAsString, isListHeader, newThreadCopy, setMessage, toHeader, toListHeader |
| Methods inherited from class org.mule.providers.AbstractMessageAdapter |
addAttachment, addInboundProperties, addProperties, assertAccess, clearProperties, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, getUniqueId, isDisabled, newException, release, removeAttachment, removeProperty, resetAccessControl, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setProperty, setReplyTo, setStringProperty, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String ATTACHMENT_HEADERS_PROPERTY_POSTFIX
| Constructor Detail |
public MailMessageAdapter(Object object)
throws org.mule.umo.MessagingException
| Method Detail |
protected void handleMessage(Message message)
throws Exception
handleMessage in class SimpleMailMessageAdapterException
protected void addAttachmentHeaders(String name,
Part part)
throws MessagingException
MessagingException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||