Zum Hauptinhalt springen

LifecycleWakeMessage

Namespace: Meshmakers.Octo.Communication.Contracts.MessageObjects

Cron co-wake message for the on-demand adapter lifecycle (AB#4914/AB#4918). For every cron PipelineTrigger whose pipeline runs on an OnDemand workload, the controller registers a companion recurring send (same cron expression) carrying this message to the controller-owned durable wake queue (PipelineQueueNames.LifecycleWakeQueue). The controller consumes it and wakes the workload, while the pipeline's own trigger message buffers durably on its per-pipeline trigger queue and is consumed once the adapter is up.

public record LifecycleWakeMessage : IEquatable<LifecycleWakeMessage>

Inheritance Object → LifecycleWakeMessage
Implements IEquatable<LifecycleWakeMessage>

Properties​

TenantId​

Tenant the workload belongs to.

public string TenantId { get; set; }

Property Value​

String

WorkloadRtId​

Runtime entity id of the workload (adapter) to wake.

public string WorkloadRtId { get; set; }

Property Value​

String

Constructors​

LifecycleWakeMessage(String, String)​

Cron co-wake message for the on-demand adapter lifecycle (AB#4914/AB#4918). For every cron PipelineTrigger whose pipeline runs on an OnDemand workload, the controller registers a companion recurring send (same cron expression) carrying this message to the controller-owned durable wake queue (PipelineQueueNames.LifecycleWakeQueue). The controller consumes it and wakes the workload, while the pipeline's own trigger message buffers durably on its per-pipeline trigger queue and is consumed once the adapter is up.

public LifecycleWakeMessage(string TenantId, string WorkloadRtId)

Parameters​

TenantId String
Tenant the workload belongs to.

WorkloadRtId String
Runtime entity id of the workload (adapter) to wake.