On 7/20/21 11:29 AM, Tomasz Melcer wrote:
Is it possible to have some kind of bounded concurrency on these consumers, so that we wouldn't have to manually manage the times?

So, we ended up implementing a mutex as part of the SQL query itself using SQL Server's sp_getapplock. While it's not what I was initially seeking, this way we can also have some non-Camel code participate in locking. We would otherwise go with the SEDA component, it was the second best approach in our case.

Thank you for all suggestions!


--
Tomasz Melcer

Reply via email to