Method RedbController(IRouteDefinition, ControllerRegistry, Func<IExchange, string>, Func<IExchange, string>)

Assembly: redb.Route.Controllers.dll

Dispatches to a controller action using dynamic expressions for controller and method selection.
The expressions are evaluated at runtime from exchange data.

public static IRouteDefinition RedbController(this IRouteDefinition route, ControllerRegistry registry, Func<IExchange, string> controllerExpr, Func<IExchange, string> methodExpr)