Business Description:
After a business operation completes, you need to send a notification to other people, for example, after the document is approved, you need to send a notification to the next approver (Zhang San), and the document submitter
Situation Analysis:
1. After the business operation is complete, calling MQ fails to send a message, MQ cannot connect---send issue
2.mq was sent, but the consumer received the failure, did not receive, or the receiving service hung-----receive the problem
3. The delay of the message, such as the approval in the description, may have been processed, but the notification message was delayed for some reason, resulting in the end of the Zhang San message-----The expiration of the message.
Scheme:
According to, for example, 1, 2, case 3 handled by the consumer itself
How does MQ guarantee the stability and integrity of messages?