ข้ามไปยังเนื้อหา

Class WolverineEventingOptions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Eventing.Wolverine.Configuration
Assembly: Cephalon.Eventing.Wolverine.dll

Describes the host-owned options for the optional Wolverine eventing companion pack.

public sealed class WolverineEventingOptions

objectWolverineEventingOptions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

public WolverineEventingOptions()

Gets or sets an optional callback that can extend Wolverine host wiring before the runtime starts.

public Action<WolverineOptions>? ConfigureHost { get; set; }

Action<WolverineOptions>?

Gets or sets the maximum number of staged events the Wolverine-owned dispatch loop should read per polling cycle.

public int DispatchBatchSize { get; set; }

int

Gets or sets the maximum number of Wolverine-managed dispatch attempts for one staged event publication.

public int DispatchMaxAttempts { get; set; }

int

The default value of 3 keeps the provider-managed dispatch lane bounded so poison staged publications eventually report a terminal failed observation instead of re-entering pending-dispatch reads forever. Set this to 1 to disable dispatch retries while still reporting the managed dispatch attempt.

Gets or sets the number of seconds the Wolverine-owned dispatch loop should wait between polling cycles.

public int DispatchPollingIntervalSeconds { get; set; }

int

Gets or sets a value indicating whether the pack should own the durable staged-event dispatch loop instead of leaving dispatch consumer-managed. Defaults to false.

public bool EnableDispatchLoop { get; set; }

bool

Gets or sets a value indicating whether the pack should register Wolverine host wiring into the current service collection.

public bool EnableHostWiring { get; set; }

bool

Gets or sets a value indicating whether the pack should publish its runtime surface into Cephalon technology introspection.

public bool EnableRuntimeSurface { get; set; }

bool

Gets or sets a value indicating whether the pack should execute declared event subscriptions through the Wolverine-managed staged-event dispatch path. Defaults to false.

public bool EnableSubscriptionExecution { get; set; }

bool

Gets or sets the number of seconds the Wolverine-owned dispatch loop should wait before retrying a failed dispatch attempt.

public int RetryDelaySeconds { get; set; }

int

Gets or sets the maximum number of Wolverine-managed execution attempts for one declared subscription message.

public int SubscriptionMaxAttempts { get; set; }

int

The default value of 3 keeps the provider-managed retry lane bounded so poison messages eventually report a terminal failed observation instead of being requeued forever. Set this to 1 to disable subscription retries while still reporting the managed execution attempt.

Gets or sets the number of seconds the Wolverine-managed subscription execution path should wait before requeueing a failed subscription attempt.

public int SubscriptionRetryDelaySeconds { get; set; }

int