Method WithMaxRetries
WithMaxRetries(int)
Sets the maximum number of delivery attempts before marking a handler as poisoned. A value of 1 means the handler runs once and is poisoned on the first failure.
public InboxBuilder<TDbContext> WithMaxRetries(int maxRetries)
Parameters
maxRetriesint
Returns
- InboxBuilder<TDbContext>