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

Assembly: redb.Route.Core.dll

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)