I need to only execute one route request at a time for a given item (ie
object processed by the route). So, if the second request with same item id
comes in, it waits until the first one completes before continuing with
processing.
I understand that I can use onCompletion and thread libraries to implement
this, but was wondering if there is a more elegant solution.
object processed by the route). So, if the second request with same item id
comes in, it waits until the first one completes before continuing with
processing.
I understand that I can use onCompletion and thread libraries to implement
this, but was wondering if there is a more elegant solution.