Class ExchangesController
Dead-letter queue: browse exchanges that failed at a route checkpoint, and replay or discard them.
GET /api/exchanges/failed — filtered, paged list.
POST /api/exchanges/{id}/replay — re-run the entry's route tail from its snapshot.
DELETE /api/exchanges/{id} — discard.
Replay re-executes business code, so mutations require operator; discard requires admin.
[Route("/api/exchanges")]
public class ExchangesController : RedbController
Inheritance
Inherited Members
Methods
Discard(string)
[HttpDelete("/{id}")]
[RequiresRole(new string[] { "admin" })]
public Task<object> Discard(string id)
GetFailed(string?, string?, string?, string?, string?, int?, int?)
[HttpGet("/failed")]
[RequiresRole(new string[] { "operator" })]
public Task<object> GetFailed(string? context, string? route, string? status, string? since, string? until, int? limit, int? offset)
Replay(string)
[HttpPost("/{id}/replay")]
[RequiresRole(new string[] { "operator" })]
public Task<object> Replay(string id)