
RabbitMq
西蒙老爷
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring boot 2.0集成 rabbitMq 实现对象传输
加入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> ...原创 2019-06-07 19:09:10 · 962 阅读 · 0 评论 -
rabbitmq获取队列消息的2种监听方式
方式一 @Component public class RabbitMqListener { @RabbitListener(queues = "demo") public void process(String content) { // } } 方式二 @Component @RabbitListener(queues = "demo") pub...转载 2019-06-10 10:07:02 · 8669 阅读 · 1 评论