Method AddRedbIdempotentRepository(IRouteContext, string, TimeSpan?, string?, string?)

Assembly: redb.Route.Core.dll

Registers a in the context registry under
name, as is — the name
IdempotentConsumer(keyExpression, repositoryName) and the markup's
<idempotentConsumer repository="…"> look up. Built lazily when the context
starts (the repository needs the context's service provider for per-exchange scoping).

public static IRouteContext AddRedbIdempotentRepository(this IRouteContext context, string name, TimeSpan? ttl = null, string? processorName = null, string? storage = null)