Connectum API Reference / @connectum/events / retryMiddleware
Function: retryMiddleware()
retryMiddleware(
options?):EventMiddleware
Defined in: packages/events/src/middleware/retry.ts:48
Create a retry middleware with configurable options.
On handler failure, retries up to maxRetries times with the configured backoff strategy. If all retries exhaust, the error is re-thrown for the next middleware (e.g., DLQ).
