org.nuxeo.ecm.platform.mail.listener.action
Class ExtractMessageInformationAction
java.lang.Object
org.nuxeo.ecm.platform.mail.listener.action.AbstractMailAction
org.nuxeo.ecm.platform.mail.listener.action.ExtractMessageInformationAction
- All Implemented Interfaces:
- MessageAction
public class ExtractMessageInformationAction
- extends AbstractMailAction
Puts on the pipe execution context the values retrieved from the new messages
found in the INBOX. These values are used later when new MailMessage
documents are created based on them.
- Author:
- Catalin Baican
DEFAULT_BINARY_MIMETYPE
public static final String DEFAULT_BINARY_MIMETYPE
- See Also:
- Constant Field Values
MESSAGE_RFC822_MIMETYPE
public static final String MESSAGE_RFC822_MIMETYPE
- See Also:
- Constant Field Values
ExtractMessageInformationAction
public ExtractMessageInformationAction()
execute
public boolean execute(ExecutionContext context)
throws Exception
- Description copied from interface:
MessageAction
- Executes one action.
If it returns false, the following actions from the pipe are not executed.
- Specified by:
execute
in interface MessageAction
- Overrides:
execute
in class AbstractMailAction
- Throws:
Exception
- See Also:
ExecutionContext
Copyright © 2011 Nuxeo SAS. All Rights Reserved.