2521 (09D9) (RC2521): MQRC_CONNECTION_SUSPENDED


Explanation

An MQCTL call with Operation MQOP_START_WAIT has returned because the asynchronous consumption of messages has been suspended. This can be for the following reasons:

  • The connection was explicitly suspended using MQCTL with Operation MQOP_SUSPEND
  • All consumers have been either unregistered or suspended.


Completion code

MQCC_WARNING


Programmer response

If this is an expected condition, no corrective action required. If this is an unexpected condition check that:

  • At least one consumer is registered and not suspended
  • The connection has not been suspended

Parent topic: API reason codes