diff --git a/mq-demo/src/main/resources/application.yaml b/mq-demo/src/main/resources/application.yaml index 3bbef10..604d28c 100644 --- a/mq-demo/src/main/resources/application.yaml +++ b/mq-demo/src/main/resources/application.yaml @@ -13,8 +13,8 @@ spring: username: ${bunny.rabbitmq.username} password: ${bunny.rabbitmq.password} virtual-host: ${bunny.rabbitmq.virtual-host} - # publisher-confirm-type: correlated # 交换机确认 - # publisher-returns: true # 队列确认 + publisher-confirm-type: correlated # 交换机确认 + publisher-returns: true # 队列确认 # listener: # simple: # acknowledge-mode: manual # 手动处理消息 diff --git a/mq-demo/src/main/resources/templates/index.html b/mq-demo/src/main/resources/templates/index.html index 23306e5..2b089e4 100644 --- a/mq-demo/src/main/resources/templates/index.html +++ b/mq-demo/src/main/resources/templates/index.html @@ -147,8 +147,8 @@

通过实践项目学习消息队列的核心概念与应用场景

探索项目 - Gitee代码 Gitee代码
@@ -344,8 +344,8 @@ public class MessageConsumer {
- + 查看完整代码