在現代分布式系統中,消息隊列是一種非常重要的通信機制,它能夠實現服務之間的異步通信、負載均衡以及解耦。Spring AMQP 是 Spring 框架對 AMQP(高級消息隊列協議)的支持,而 RabbitMQ 是 AMQP 協議的最流行實現之一。通過 Spring Boot 集成 Spring AMQP,可以快速搭建一個高效、可靠的消息隊列系統。
https://docs.springframework.org.cn/spring-amqp/reference/index.html
https://docs.springframework.org.cn/spring-boot/reference/messaging/amqp.html