Java – should we use JMS?

My company needs to send messages from one server to another There are about 500000 messages a day My manager insists on using JMS, but he doesn't really understand JMS itself

Do you think we need to use JMS to ensure that messages are sent? Where can I find examples of the above cases?

Solution

When you want to process things asynchronously, you can use JMS You can configure it to be fault tolerant as you want, so if the message operation fails, the message will not be lost Your requirements are rather vague, but JMS seems to be a good solution

This is where get started is

Spring has some useful classes that can easily handle JMS

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>