ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Suspend Mgr by application programmatically

Post new topic  Reply to topic
 Suspend Mgr by application programmatically « View previous topic :: View next topic » 
Author Message
Mo
PostPosted: Thu Dec 04, 2025 12:50 pm    Post subject: Suspend Mgr by application programmatically Reply with quote

Novice

Joined: 02 Apr 2010
Posts: 18
Location: IL USA

Hello

There is a need for one of the apps to suspend/resume Qmgr to control the incoming traffic into the Qmgr. Qmgrs are dedicated to the apps use.

Options we can think of are:

REST API

triggering a job on the host to run the script for disabling/enabling queue. App puts a message to the queue and triggers the job.Any other thoughts or ideas

PCF commands

Any other thoughts or options?
Back to top
View user's profile Send private message
hughson
PostPosted: Thu Dec 04, 2025 7:52 pm    Post subject: Re: Suspend Mgr by application programmatically Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1972
Location: Bay of Plenty, New Zealand

Mo wrote:
There is a need for one of the apps to suspend/resume Qmgr ...


Mo wrote:
triggering a job on the host to run the script for disabling/enabling queue.


My first thought is which is it? Do you need to SUSPEND/RESUME QMGR or do you need to ALTER QLOCAL(q-name) PUT(ENABLE/DISABLE) ?

If the former, then yes, as you say, you can send an administrative command (which you can either do directly as a PCF message to the command server or via the REST API).

If the latter, you have an additional option which is the MQSET verb. MQOPEN using option MQOO_SET, then MQSET, then MQCLOSE.

Please clarify *exactly* what it is you need to do.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Suspend Mgr by application programmatically
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.