Table of Contents

Class CronTimerTriggerMessage

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.dll

Synthetic message generated by the cron timer transport when a scheduled trigger fires.

[MessageName("Excalibur.Dispatch.CronTimerTriggerMessage")]
public record CronTimerTriggerMessage : IDispatchEvent, IDispatchMessage, IEquatable<CronTimerTriggerMessage>
Inheritance
CronTimerTriggerMessage
Implements
Derived
Inherited Members
Extension Methods

Remarks

This message is dispatched through the pipeline when the cron timer fires, allowing handlers to react to scheduled triggers.

For type-safe handler routing with multiple timers, use CronTimerTriggerMessage<TTimer> with a marker type.

Properties

CronExpression

Gets or sets the cron expression that triggered this message.

public string CronExpression { get; init; }

Property Value

string

The cron expression string.

TimeZone

Gets or sets the time zone ID used for the cron schedule.

public string TimeZone { get; init; }

Property Value

string

The time zone identifier.

TimerName

Gets or sets the name of the timer that fired.

public string TimerName { get; init; }

Property Value

string

The timer name.

TriggerTimeUtc

Gets or sets the UTC time when the timer fired.

public DateTimeOffset TriggerTimeUtc { get; init; }

Property Value

DateTimeOffset

The trigger timestamp in UTC.