Interface IInflightRepository

Assembly: redb.Route.dll

Tracks exchanges currently being processed (in-flight) across all routes.
Thread-safe. Used by watchdog/monitoring to detect hung exchanges.

public interface IInflightRepository

Properties

Count

Total number of in-flight exchanges across all routes.

int Count { get; }

Methods

BeginWait(string, TimeSpan)

Marks an in-flight exchange as held by the engine on purpose for delay (a redelivery delay, a

IDisposable BeginWait(string exchangeId, TimeSpan delay)

Browse()

Returns a snapshot of all in-flight exchanges.

IReadOnlyList<InflightExchange> Browse()

Browse(string)

Returns a snapshot of in-flight exchanges for a specific route.

IReadOnlyList<InflightExchange> Browse(string routeId)

CountByRoute(string)

Number of in-flight exchanges for a specific route.

int CountByRoute(string routeId)

Register(InflightExchange)

Registers an exchange as in-flight.

void Register(InflightExchange entry)

Unregister(string)

Removes an exchange from the in-flight registry.

void Unregister(string exchangeId)