应用场景:异步处理、应用解耦、流量削峰
参照:https://blog.csdn.net/weixin_38364973/article/details/82834348
开端
RabbitAutoConfiguration生效条件:
@ConditionalOnClass({ RabbitTemplate.class, Channel.class })
pom.xml引入mq的jar
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
未完待续...