From b926506ede9dc650429b11a05dd6b648a1b3a84b Mon Sep 17 00:00:00 2001 From: Lpz <Lpz970821@163.com> Date: Thu, 5 Jun 2025 12:36:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E7=94=A8=20RabbitMQ=20=E5=81=A5?= =?UTF-8?q?=E5=BA=B7=E6=A3=80=E6=9F=A5=E5=B9=B6=E6=8E=92=E9=99=A4=E5=85=B6?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 12 ++++++++---- src/main/resources/application.properties | 4 +++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index a143d44..b0733c5 100644 --- a/pom.xml +++ b/pom.xml @@ -126,10 +126,6 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-amqp</artifactId> - </dependency> <dependency> <groupId>org.apache.commons</groupId> @@ -146,7 +142,15 @@ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> + <exclusions> + <!-- 排除 RabbitMQ 自动配置 --> + <exclusion> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-amqp</artifactId> + </exclusion> + </exclusions> </dependency> + <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-generator</artifactId> diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 8956e4d..7520e47 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -38,4 +38,6 @@ logging.level.org.springframework.web=DEBUG #SQL ???????? logging.level.com.bipt.intelligentapplicationorchestrationservice.mapper=DEBUG -mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl \ No newline at end of file +mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl + +management.health.rabbit.enabled=false \ No newline at end of file