Method SetHeaderFromRedb(IRouteDefinition, string, Func<IRedbService, IExchange, object?>)
Sets a header using .
Resolves a scoped service per exchange when DI scope is available.
public static IRouteDefinition SetHeaderFromRedb(this IRouteDefinition route, string headerName, Func<IRedbService, IExchange, object?> factory)