Design question

Hi,

I am creating an interface for customers to send BulkSMS. I already have camunda 7.4 and I would like to process the requests using a bpm process. but the SMSC am connecting to have a limit of X msgs per second. I would appreciate your input on the best practice for such a scenario.

Thanks

Hi @cutout33,

I’m not sure if I understand you right but your process can look like

Does this help you?

Greetings,
Phiulipp

Yes I think so, but is there a way to have a thread pool for sending SMSs? or this is something I have to implement in a custom listener?

Thanks

Hi @cutout33,

the process engine executes this process within a single thread. The sending of the SMS is up to you.

If you execute this process parallel and want to ensure the limit of the SMS sending then you have to deal with it in your implementation.

Is this the reason why you asked for a thread pool?

You may also interested in external tasks.

Greetings,
Philipp