Class SendEmailNotificationJob

java.lang.Object
org.exoplatform.commons.notification.job.SendEmailNotificationJob
All Implemented Interfaces:
org.quartz.Job

@DisallowConcurrentExecution public class SendEmailNotificationJob extends Object implements org.quartz.Job
Sends the queued emails, one execution at a time: two overlapping executions load the same queue rows and send each of them twice (seen when the Quartz scheduler starts in the last second of a minute and releases the missed occurrence right before the next one).
  • Constructor Details

    • SendEmailNotificationJob

      public SendEmailNotificationJob()
  • Method Details

    • execute

      public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
      Specified by:
      execute in interface org.quartz.Job
      Throws:
      org.quartz.JobExecutionException