11 SpringBoot简单整合RabbitMQ

作者: 笑Skr人啊 | 来源:发表于2019-12-26 18:10 被阅读0次

1 生产者

1.1 代码地址

https://github.com/3748/RabbitMq.git

1.2 项目

boot\rabbitmq-producer

2 消费者

2.1 代码地址

https://github.com/3748/RabbitMq.git

2.2 项目

boot\rabbitmq-customer

3 发送消息

启动生产者,消费者不启动
调用
    127.0.0.1:8080/sendFanout?queueName=fanout_email_queue
在这里插入图片描述
在这里插入图片描述

4 接收消息

启动消费者
在这里插入图片描述

相关文章

网友评论

    本文标题:11 SpringBoot简单整合RabbitMQ

    本文链接:https://www.haomeiwen.com/subject/oyeloctx.html