Question

5
Replies
717
Views
Close popover
Nizam Mohammed (NizamM46)
Axiom Technology Group
Technical Manager
Axiom Technology Group
US
NizamM46 Member since 2017 26 posts
Axiom Technology Group
Posted: June 19, 2018
Last activity: June 25, 2018
Closed

Start the listener using activity

Hi All,

We have a requirement to start and stop the listener based on a business logic. We are able to stop the listener using the below code.

com.pega.pegarules.priv.management.MBeanManagement.executeMBeanOperation( "com.pega.pegarules.management.internal.ListenerManagement", "StopListener",
"MyListenerName", null, null);

We used the below function to start the listener. This is not working as expected.

com.pega.pegarules.priv.management.MBeanManagement.executeMBeanOperation("com.pega.pegarules.management.internal.ListenerManagement","StartListener",
"MyListenerName", null, null);

Please let me know if there is any issue in the above call. Thanks in advance.

Pega version: 7.3.1

Regards,

Nizam

Data Integration Java and Activities
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.