Message topic subscription
The message topic needs to be subscribed first before it can be monitored and processed by the message queue RabbitMQ. The advantage of the message queue is that it ensures the reliability of key transactions. Once a message is subscribed and the message on the same topic is published, the event handler of the message subscription will be activated. As shown in the figure below: the subscription operation of the message startup process.