Oct 28th, 2012, 08:44 AM
Throttling item processing
I have a read-write batch job that reads items from a database table and calls a web service (as the writer part).
As the calls to the web service eventually overload the remote server, I am searching for a solution where I will be able to throttle the service calls.
By throttling I mean delaying the next item's processing after each item's write.
Alternatively, a delay could be placed before or after each read.
I tried to find a workaround using JMS but could not come up with any solution.
Any ideas are welcome