How we can delete a suspended production ??
00:41:54.088:Ens.Director: Queued messages are being saved in the suspended production. 00:41:54.089:Ens.Director: Production 'MemberBPL.MemberProduction' suspended.
I have created the business service, process and operations and message was going through service to operation but some message got queued that'swhy production is not stopping correctly. neither it's deleting not it's stopping fully.
I have also trying purging data under manage production.
Please help me here.... how i can delete this production. ??
Comments
You can identify the id of the process and kill it from the operating system.
You can check a similar question here:
https://community.intersystems.com/post/stop-running-sql-query-quickly#…
To clean pending messages and other suspended production data, you can use Ens.Director.CleanProduction() method, as explained in the documentation. Caution though, this will delete current production state, including removing message headers (Ens.MessageHeader instances) from queues.
Thank You @Robert Barbiaux
Only this method worked for me.
do ##class(Ens.Director).CleanProduction()