关于RabbitMQ相关知识不做讲解,这里有详细的教程:RabbitMQ
1. pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
2. application.properties
spring.application.name=spirng-boot-
关于RabbitMQ相关知识不做讲解,这里有详细的教程:RabbitMQ
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
spring.application.name=spirng-boot-