How to restrict active threads in an Asynchronous service?
We have exposed an asynchronous Service-REST to an external application, where it sends multiple requests for batch processing.
We want to restrict the number of threads to 10 or 20 to process at a time, either we have to keep remaining requests in Queue or let the external system know that our queue is busy.
Could you please suggest best approach to acheive this?
Keep up to date on this post and subscribe to comments
- SmartBPM as a service?
- Can Pega Consume a.NET WCF Service?
- How to parse the values present in a output/response string returned by a web service?
- can we implement Signature or Encryption configuaration in PRPC SOAP Service?
- How to convert clipboard page to JSON format to send as a response to the service?