How to send multiple asynchronous requests to different web services?

后端 未结 6 1335
梦谈多话
梦谈多话 2021-02-01 07:27

I need to send multiple requests to many different web services and receive the results. The problem is that, if I send the requests one by one it takes so long as I need to sen

6条回答
  •  醉话见心
    2021-02-01 08:08

    It has got various option to develop this.

    1. JMS : quality of service and management, e.g. redelivery attempt, dead message queue, load management, scalability, clustering, monitoring, etc.
    2. Simply using the Observer pattern for this. For more details OODesign and How to solve produce and consumer follow this Kodelog**

提交回复
热议问题