Class EventOutboxProcessorJob

All Implemented Interfaces:
org.quartz.InterruptableJob, org.quartz.Job

public class EventOutboxProcessorJob extends BaseJob
a job which gets all events from event_outbox and send them to OutboxThread BlockingQueue
Since:
22.10.0
  • Field Details

    • JOB_NAME

      public static final String JOB_NAME
      The name of the job. Note: This must be the same as the name used in core-config.xml
      See Also:
  • Constructor Details

    • EventOutboxProcessorJob

      public EventOutboxProcessorJob()
  • Method Details

    • executeJob

      public void executeJob()
      Description copied from class: AbstractJob
      Subclasses should override this method to provide their functionality.

      A DataContext object will be bound to the thread executing this task. Any uncommitted changes to the DataContext will be automatically rolled back when this method completes.

      Specified by:
      executeJob in class AbstractJob
    • logException

      public ErrorLog logException(Throwable error)
      Log the exception to the ErrorLog if an error occurs performing the job and send a System Alert email.
      Overrides:
      logException in class AbstractJob
      Parameters:
      error - the exception to log (required)
      Returns:
      the new ErrorLog record