Is there a way to ensure that threads are assigned to a specified set of objects?

后端 未结 5 738
旧时难觅i
旧时难觅i 2021-02-06 01:38

We are working on an application where a set of objects can be affected by receiving messages from 3 different sources. Each message (from any of the sources) has a single objec

5条回答
  •  南旧
    南旧 (楼主)
    2021-02-06 02:07

    As an alternative approach: I would recommend using an existing framework, such as RabbitMQ or ActiveMQ for this. Trying to invent your own messaging framework can be a challenge. If you are trying to add value with your own framework, that's one thing. If you simply need one to accomplish your goals, that's another. These frameworks have come up with many options for optimal message delivery and would be worth considering.

提交回复
热议问题