feat: 集成 Spring AMQP,使用 RabbitMQ 发送小说更新消息

默认关闭,通过 spring.rabbitmq.enable 配置属性来开启
This commit is contained in:
xiongxiaoyang
2022-05-25 09:39:25 +08:00
parent a8e2e2d5c9
commit e5592b85dd
30 changed files with 259 additions and 56 deletions

View File

@ -110,6 +110,12 @@
<artifactId>jackson-databind</artifactId>
</dependency>
<!-- MQ 相关-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>