Question

5
Replies
676
Views
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
Share this page LinkedIn