MuleSoft · IBM MQ Connector

IBM-MQ:CONSUMING

Short answer

IBM-MQ:CONSUMING means an error occurred while consuming messages, and it can simply mean no message was pending. If the app has stopped consuming, look for a backlog of unacknowledged messages.

VerifiedLast verified

01Error text

MuleSoft error
Error type: IBM-MQ:CONSUMING

02Likely causes

  • An error occurred while consuming messages from WMQ. This error might relate to the absence of a pending message.
  • A large number of unacknowledged messages can make the consumer stop.

03How to fix it

  1. Check the depth of unacknowledged messages on the broker side and review the application logic.
  2. Be sure that every message is acknowledged or the session recovers.
  3. Turn on verbose logging: in log4j2.xml add <AsyncLogger name="com.mulesoft.connectors.ibmmq" level="DEBUG"/> and <AsyncLogger name="org.mule.jms.commons" level="DEBUG"/>. Increase the logging level on the server side as well.
  4. Handle the failure with an error handler of type IBM-MQ:CONSUMING.

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.