Property IdempotentRepository

Assembly: redb.Route.As4.dll

Name of an IIdempotentRepository registered with context.AddIdempotentRepository(name, repo) —
the contract of the route-level IdempotentConsumer EIP and of the S3 consumer's option of the same name.
It remembers received message ids: a message received again is answered with a receipt and not delivered
twice (AS4 duplicate detection). Required on a receive endpoint — eDelivery AS4 1.16 mandates duplicate
detection, and which store holds the ids (memory, redb, SQL) decides whether it survives a restart and
works across cluster nodes, so it is named explicitly.

The keys are eb:MessageId as it is, the way Domibus and Holodeck keep them: a message id is globally
unique by the ebMS contract, whoever sends it. Give the endpoint a repository of its own — one shared with
another route's business keys, or reused by a partner's colliding id, would answer a new message with the
receipt of a duplicate and not deliver it.

[EndpointRole(EndpointRole.Consumer)]
[RegistryReference(typeof(IIdempotentRepository))]
public string? IdempotentRepository { get; set; }