Class RoutesController
Route-level management: list, detail, start, stop, inflight browse.
GET /api/contexts/{ctx}/routes — list routes
GET /api/contexts/{ctx}/routes/{routeId} — route detail
POST /api/contexts/{ctx}/routes/{routeId}/start — start route
POST /api/contexts/{ctx}/routes/{routeId}/stop — stop route (optional timeout)
GET /api/contexts/{ctx}/routes/{routeId}/inflight — in-flight exchanges for route
GET /api/contexts/{ctx}/inflight — all in-flight exchanges for context
[Route("/api/contexts")]
public class RoutesController : RedbController
Inheritance
Inherited Members
Methods
ForceStopRoute(string, string)
[HttpPost("/{name}/routes/{routeId}/force-stop")]
[RequiresRole(new string[] { "admin" })]
public Task<object?> ForceStopRoute(string name, string routeId)
GetContextInflight(string)
[HttpGet("/{name}/inflight")]
public object? GetContextInflight(string name)
GetRoute(string, string)
[HttpGet("/{name}/routes/{routeId}")]
public object? GetRoute(string name, string routeId)
GetRouteInflight(string, string)
[HttpGet("/{name}/routes/{routeId}/inflight")]
public object? GetRouteInflight(string name, string routeId)
GetRouteMetrics(string, string)
[HttpGet("/{name}/routes/{routeId}/metrics")]
public object? GetRouteMetrics(string name, string routeId)
ListRoutes(string)
[HttpGet("/{name}/routes")]
public object? ListRoutes(string name)
StartRoute(string, string)
[HttpPost("/{name}/routes/{routeId}/start")]
public Task<object?> StartRoute(string name, string routeId)
StopRoute(string, string, int?)
[HttpPost("/{name}/routes/{routeId}/stop")]
public Task<object?> StopRoute(string name, string routeId, int? timeoutSeconds = null)