When queue manager goes down during any MQ related outages or after pega server restarts , all the MQ listeners go down. We are restarting MQ listeners manually after the MQ related maintenance activity. We want to eliminate the need of manual restart of MQ listeners. Is there any option or setting in Pega to auto start the MQ listeners when queue manager comes up ?
Thanks in Advance.
***Edited by Moderator: Bhavana S to add capability tag***
@NarendraB3866 there is an option to auto-start MQ listeners when Pega Platform starts. You can edit the prconfig.xml file or use dynamic system settings to control when MQ listeners start. To cause unblocked MQ listeners to start when Pega Platform starts, add or update the initServices/initMQ setting in the prconfig.xml file as follows:
<env name="initServices/initMQ" value="true"/>
If this entry is not present in the file, or the value is not set to "true", "y", or "yes", you can start unblocked MQ listeners only from Admin Studio.
This answer came from a Pega gen-AI assistant using the below references. As a Support Center moderator, I reviewed the answer and references for accuracy:
@MarijeSchillern I think the question was about how to start an MQ listener that has stopped due to a temporary MQ server unavailablity. We have also observed that during MQ server failover there is a limited time when MQ server is not available. Most applications can recover from this but on Pega platform the MQ listener stops and has to be manually started. Is it possible to start the MQ listener for example from an acitivity rule?
Posted: 1 week ago
Posted: 18 Sep 2023 7:51 EDT
Marije Schillern (MarijeSchillern)
Senior Knowledge Management Specialist