简体   繁体   中英

IBM MQ - Ability to queue messages during maintenance without stopping channel

Hoping someone with MQ knowledge will know if the following is possible ...

Background : we have one IBM MQ 7.5 server currently but happy to upgrade if that helps.

Scenario : We have a dedicated channel and queues for a processing application. I'd like a way, on a single MQ Server, to be able to have new messages delivered and for them to queue up in "Messages_IN" during a release then let them through afterwards. I cannot stop the channel that is used as the consuming application will error (lose MQ access) and not work. ie sending applications and the processing application currently use the same channel / queues.

Diagram linked below to help explain ...

MQ options?

Is there anyway to have a flow control on a queue that would allow us to control messages not being consumed by an application without stopping the channel? Any new queues / channels / config etc are fine but currently limited to one MQ Server.

Many thanks for anyone who's taken the time to read this and hopefully its technically possible.

Regards

David

Hi the comment of JoshMC is your answer. You ned to set the " GET " propiertie of the QUEUES " MESSAGES_IN " to " DISABLED ". With that you prevent any aplication of get message from the QUEUE, whe you end your maintenance you need to set the propertie to " ENABLED " for enabled applicaiton to gets messages from the queue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM