MuleSoft · Database Connector

DB:RETRY_EXHAUSTED

Short answer

DB:RETRY_EXHAUSTED means all reconnection attempts of a Database Connector operation failed. Fix the connection problem behind the attempts, and review the reconnection strategy.

VerifiedLast verified

01Error text

MuleSoft error
Error type: DB:RETRY_EXHAUSTED

02Likely causes

  • All reconnection attempts failed.
  • The database stayed unreachable for longer than the reconnection strategy covers.

03How to fix it

  1. Find the connectivity error logged for the attempts, and fix it.
  2. Review the reconnection strategy: count is how many attempts are made and frequency is how often, in milliseconds.
  3. Turn on verbose logging: add AsyncLogger entries at DEBUG for org.mule.extension.db and org.mule.db.commons in log4j2.xml. Turn it off afterward.
  4. Handle the failure with an error handler of type DB:RETRY_EXHAUSTED.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.