Method Bean<TService>(Func<TService, IExchange, CancellationToken, Task>)

Assembly: redb.Route.dll

Resolves TService from the exchange's ServiceProvider and invokes method.

IRouteDefinition Bean<TService>(Func<TService, IExchange, CancellationToken, Task> method)