Interface IInflightRepository
Tracks exchanges currently being processed (in-flight) across all routes.
Thread-safe. Used by watchdog/monitoring to detect hung exchanges.
public interface IInflightRepository
Properties
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(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)
Unregister(string)
Removes an exchange from the in-flight registry.
void Unregister(string exchangeId)