Table of Contents

Method WithRetention

Namespace
Ratatoskr.EfCore
Assembly
Ratatoskr.EfCore.dll

WithRetention(TimeSpan)

Enables automatic cleanup of successfully processed messages older than the specified retention period. Poisoned messages are never auto-deleted — they require manual investigation.

public OutboxBuilder<TDbContext> WithRetention(TimeSpan period)

Parameters

period TimeSpan

Returns

OutboxBuilder<TDbContext>