MuleSoft · Anypoint MQ Connector

ANYPOINT-MQ:TIMEOUT

Short answer

ANYPOINT-MQ:TIMEOUT is thrown by the Consume operation when Polling Time is greater than 0 and no message arrives in that time. If an empty queue is normal, handle the error or set Polling Time to 0, which returns NULL instead.

VerifiedLast verified

01Error text

MuleSoft error
Error type: ANYPOINT-MQ:TIMEOUT

02Likely causes

  • The Consume operation's Polling Time is greater than 0 and no message arrived before it elapsed. The default is 10000 milliseconds, and the allowed range is 0 to 20000.

03How to fix it

  1. Decide whether an empty queue is an error for this flow.
  2. If it is not, set Polling Time to 0. The connector then returns NULL and does not throw ANYPOINT-MQ:TIMEOUT.
  3. Or keep the polling time and handle the failure with an error handler of type ANYPOINT-MQ:TIMEOUT.

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.