The warning does suggest reading the documentation but the current documentation recommends using LoadFrom when configuring a consumer that requires DI support. Currently using .net Core Dependency Injection. Can't find a Consumer method that allows DI.
This continues to work. Just makes me nervous going forward.
cfg.ReceiveEndpoint(host, "adjudication-api", e =>
{
e.PrefetchCount = 16;
e.UseMessageRetry(x => x.Interval(2, 100));
e.LoadFrom(provider);
});
Guidance would be appreciated.