Interface MailProcessor

All Known Implementing Classes:
MailProcessorImpl

public interface MailProcessor
The processor applies the provided MailWorkers.

Must be used in this order

  1. invoke initializeWorkers() once to initialize all workers
  2. processMail(IncomeMail, URLName) for each mail
  3. invoke cleanup() once after all mails have been processed to cleanup