Class InflightExchange

Assembly: redb.Route.dll

Snapshot of an exchange currently being processed (in-flight).

public record InflightExchange : IEquatable<InflightExchange>

Inheritance

Object→InflightExchange

Implements

Properties

BusySince

When the exchange's current stretch of work began: the end of its last planned wait, or its start. A monitor

public DateTime BusySince { get; }

ExchangeId

The exchange.

public string ExchangeId { get; init; }

FromEndpoint

The endpoint the route consumes from, when known.

public string? FromEndpoint { get; init; }

LastWaitEndedAt

When the last such wait ended (UTC); null when the exchange has not waited.

public DateTime? LastWaitEndedAt { get; init; }

ManagedThreadId

The thread it entered on.

public int ManagedThreadId { get; init; }

RouteId

The route it entered.

public string RouteId { get; init; }

StartedAt

When it entered the route (UTC).

public DateTime StartedAt { get; init; }

WaitingUntil

Set while the engine holds the exchange on purpose (a redelivery delay of onException, Retry or the dead

public DateTime? WaitingUntil { get; init; }

Constructors

InflightExchange(string, string, DateTime, int, string?, DateTime?, DateTime?)

Snapshot of an exchange currently being processed (in-flight).