Method SetBodyFromRedb(IRouteDefinition, string, Func<IRedbService, IExchange, object?>)

Assembly: redb.Route.Core.dll

Sets the exchange body using a named .
Resolves a per-exchange scoped service when a factory is registered; see
for scoping details.

public static IRouteDefinition SetBodyFromRedb(this IRouteDefinition route, string name, Func<IRedbService, IExchange, object?> factory)