MuleSoft · IBM MQ Connector

IBM-MQ:CONNECTIVITY

Short answer

IBM-MQ:CONNECTIVITY means the IBM MQ connection is no longer valid, and the connector disposes of it. Check the queue manager, configure reconnection, and give the listener its own configuration so a failed Publish or Consume cannot hang it.

VerifiedLast verified

01Error text

MuleSoft error
Error type: IBM-MQ:CONNECTIVITY

02Likely causes

  • The connection is no longer valid. The connection is disposed of.
  • When the On New Message listener shares a configuration with Publish or Consume, a connection failure in those operations can hang the listener.

03How to fix it

  1. Check that the queue manager is running and reachable from the Mule app.
  2. Use a dedicated configuration for the On New Message listener.
  3. Configure a reconnection strategy on the IBM MQ configuration.
  4. 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.
  5. Handle the failure with an error handler of type IBM-MQ:CONNECTIVITY.

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.