Table of Contents

Class MultiTransportHealthCheckOptions

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

Configuration options for Excalibur.Dispatch.Transport.MultiTransportHealthCheck.

public sealed class MultiTransportHealthCheckOptions
Inheritance
MultiTransportHealthCheckOptions
Inherited Members
Extension Methods

Properties

ParallelChecks

Gets or sets a value indicating whether to run transport checks in parallel.

public bool ParallelChecks { get; set; }

Property Value

bool

True to run checks in parallel; false to run sequentially. Default is true.

Remarks

Parallel execution is faster but may cause resource contention in some scenarios.

RequireAtLeastOneTransport

Gets or sets a value indicating whether at least one transport must be registered.

public bool RequireAtLeastOneTransport { get; set; }

Property Value

bool

True to require at least one transport; false to allow empty registry. Default is false.

Remarks

When set to true, the health check will return Unhealthy if no transports are registered.

RequireDefaultTransportHealthy

Gets or sets a value indicating whether the default transport must be healthy.

public bool RequireDefaultTransportHealthy { get; set; }

Property Value

bool

True to require default transport to be healthy; false to allow degraded default. Default is true.

Remarks

When set to true and a default transport is configured, the health check will return Unhealthy if the default transport is not running or reports unhealthy status.

TransportCheckTimeout

Gets or sets the timeout for individual transport health checks.

public TimeSpan TransportCheckTimeout { get; set; }

Property Value

TimeSpan

The timeout duration. Default is 5 seconds.