消息中间件
消息中间件
coffeesunshine
这个作者很懒,什么都没留下…
展开
-
RabbitMQ之基础(一)
文章目录引入RabbitMQ依赖常用配置虚拟主机消息投递策略常用的交换机类型directfanouttopic:常用消息确认消费者端生成者端交换机或路由键不存在消费端限流死信队列(DLX)引入RabbitMQ依赖<!--mq--><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</a原创 2021-12-26 17:58:36 · 362 阅读 · 0 评论 -
SpringBoot之RabbitMQ之Header 模式
版本:SpringBoot2.1.7.RELEASE0、pom依赖:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency>1、HeaderConfigpackage cn.linst.amqp1.config;import or原创 2021-07-21 22:10:19 · 684 阅读 · 0 评论 -
SpringBoot之RabbitMQ之Direct 模式
版本:SpringBoot2.1.7.RELEASE安装RabbitMQ,启动RabbitMQ。0、pom.xml添加依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency>完整pom:<?xml versio原创 2021-07-21 20:58:16 · 231 阅读 · 3 评论