Update README.md

This commit is contained in:
heibaiying 2019-08-25 17:52:30 +08:00 committed by GitHub
parent 9ab3bd1915
commit 59d5c75877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@
- **rabbitmq-consumer** :是消息的消费者模块。
<div align="center"> <img src="https://github.com/heibaiying/spring-samples-for-all/blob/master/pictures/spring-boot-rabbitmq.png"/> </div>
## 二、主要依赖
在父工程的项目中统一导入依赖 RabbitMQ 的 starter父工程的 pom.xml 如下:
@ -186,6 +187,7 @@ public class RabbitmqConsumer {
## 五、消息生产者
<div align="center"> <img src="https://github.com/heibaiying/spring-samples-for-all/blob/master/pictures/rabbitmq-producer.png"/> </div>
### 5.1 生产者配置
```yaml