Method WithMaxRetries
WithMaxRetries(int)
Sets the maximum number of retry attempts before marking a message as poisoned. A value of 0 means the message is poisoned on the first failure.
public OutboxBuilder<TDbContext> WithMaxRetries(int maxRetries)
Parameters
maxRetriesint
Returns
- OutboxBuilder<TDbContext>