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