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

Assembly: redb.Route.Core.dll

Sets the exchange body using .
Resolves a scoped service per exchange when DI scope is available.

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