Question
Proximity Software
Proximity Software
SV
Proximity Software
Posted: Nov 17, 2021
Last activity: Dec 9, 2021
Last activity: 9 Dec 2021 10:00 EST
Closed
How to automatically restart an email listener?
We want to monitor and restart Email Listeners automatically if they are going down due to "X" reason.
Is there any PEGA API, activity or a way to restart an email listener automatically without going into Admin Studio and do it manually?
@CarlosM9873
We are not having api to start listener..
We are only having api to restart, start, and stop agent, queue processor and job scheduler...
But it seems you could build your own api for restarting listener without using admin studio, we are having some pega OOTB activity via which you could start the listener. We need to pass some needed parameter to that activity for starting listener.
OOTB Activity Name = pzStartListener
The below mentioned data page will help you to get active listener status from environment.
Data Page Name = D_pzRetrieveActiveListeners