Posted: Wed Aug 14, 2019 5:18 am Post subject: MQ queuestatus - ASTATE(SUSPENDED)
Novice
Joined: 23 Jun 2019 Posts: 12
Hi All,
We have a JMS application trying tp receive messages from MQ7.5 server. We see that the queue is showing ASTATE(SUSPENDED) and messages are starting to pile up. Only when the application is restarted, the messages are further processed. Is there a way to reprocess the messages without restarting the application?
For asynchronous message consumption to proceed, the application must issue an MQCB call with the Operation parameter set to MQOP_RESUME.
Given that you seem surprised this is happening, I'd ask whoever owns the JMS application if they received this (from the same page):
Quote:
If it has been suspended by the system, as part of the process of suspending asynchronous message consumption the call-back function is initiated with the reason code that describes the problem resulting in suspension. This code is reported in the Reason field in the MQCBC structure that is passed to the call-back function.
Do they correctly handle such a situation, by responding to the reason code with an error? Or do they just eat it?
It's also worth asking them if they've done this (again from the same page you've clearly failed to find):
Quote:
an MQCB call with Operation MQOP_SUSPEND has been issued against this object handle by the application
Just in case they're deliberately suspending it and forgetting (or failing) to turn it back on. _________________ Honesty is the best policy.
Insanity is the best defence.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum