Reputation: 8200
I have a Camunda delegate which is supposed to send mails. We want to restrict the parallel executions of tasks so that the mail server is not flooded with too many messages.
Is there any (easy) possibility to restrict that task only to, say, 25 concurrent executions without resorting to Camunda-external synchronization (which is possible but complicated)?
Upvotes: 2
Views: 965
Reputation: 11993
If you make the service task async in the modeler, the camunda jobexecutor will execute the delegate with a managed thread pool, so you will have a maximum of the definied executor threads sending mails. Could already be a solution for your problem.
Upvotes: 1