From 9d8778d56ccf8051ab27f1cca173ad4adf789e48 Mon Sep 17 00:00:00 2001 From: bunny <1319900154@qq.com> Date: Sun, 18 May 2025 22:47:05 +0800 Subject: [PATCH] =?UTF-8?q?:construction:=20=E7=94=9F=E4=BA=A7=E8=80=85?= =?UTF-8?q?=E7=AB=AF=E6=B6=88=E6=81=AF=E7=A1=AE=E8=AE=A4=E6=9C=BA=E5=88=B6?= =?UTF-8?q?=E5=BC=80=E5=A7=8B...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mq-demo/src/main/resources/application.yaml | 4 ++-- mq-demo/src/main/resources/templates/index.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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 @@
通过实践项目学习消息队列的核心概念与应用场景
@@ -344,8 +344,8 @@ public class MessageConsumer {