Stop and Start Listeners from Activities
We need to stop and start listeners from Activities.
I've located a Pega API with the required methods(see below)
Could someone kindly show an example using any of these menthods?
Any assistance would be greatly appreciated.
Note: We are using 5.3sp1 on Websphere 6.1 with UDB 8.2.8
ListenerStatus() - Returns a list of available listeners with status.
isAlive(String aListenerID) - Queries the specified listener to determine its status.
Query(String aListenerID) - Queries the listener and displays data about it:
the status, the Listener Name, Listener Java Class, etc.
Start(...) - This method starts the specified listener
Stop(String aListenerID) - This method disables the specified listener
StopAll() - This method disables all the listeners defined in the system.
RestartAll() - This method stops and then restarts all Listeners defined in the system.
StopType(String aListenerClass) - This method disables all Listeners of the specified
Data-Admin-Connect class: Email, JMS, MQ, or File.
Restart(String aListenerID) - This method will stop then restart the specified Listener.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Keep up to date on this post and subscribe to comments