Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

How to stop all child requestors



Connect-wait method is used to wait until the MQ calls in parallel are complete. How to terminate all the child requestors after the wait is complete?


Use stopBatchActivities() method. It terminates all the child threads for a requestor regardless of the type. This API can be accessed using the following Java: tools.getRequestor().stopBatchActivities();
Suggest Edit

Published November 21, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us