Class QuartzTimerConsumer
Quartz timer consumer. Fires the processor on a Quartz SimpleSchedule.
Supports FixedRate mode, configurable delay, misfire policies, and all lifecycle options.
public class QuartzTimerConsumer : QuartzConsumerBase, IConsumer
Inheritance
Implements
Inherited Members
QuartzConsumerBase.BuildTrigger(TriggerKey, JobKey),QuartzConsumerBase.DrainTimeout,QuartzConsumerBase.Endpoint,QuartzConsumerBase.EndpointUriKey,QuartzConsumerBase.PopulateExchangeProperties(IExchange, IJobExecutionContext),QuartzConsumerBase.Start(CancellationToken),QuartzConsumerBase.Stop(CancellationToken)
Methods
BuildTrigger(TriggerKey, JobKey)
Builds the Quartz trigger for this consumer. Called once during .
protected override ITrigger BuildTrigger(TriggerKey triggerKey, JobKey jobKey)
PopulateExchangeProperties(IExchange, IJobExecutionContext)
Populates exchange with component-specific properties (e.g. cron schedule, timer period, fire time).
protected override void PopulateExchangeProperties(IExchange exchange, IJobExecutionContext context)
Constructors
QuartzTimerConsumer(QuartzTimerEndpoint, IProcessor)
Creates a Quartz timer consumer.