知行合一

博客园 首页 新随笔 联系 订阅 管理

2021年3月16日 #

摘要: 一、RabbitMQ与SpringBoot整合_生产端 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> se 阅读全文
posted @ 2021-03-16 19:32 callbin 阅读(138) 评论(0) 推荐(0) 编辑

摘要: word文档地址: https://files.cnblogs.com/files/callbin/RabbitMQ%E6%B6%88%E6%81%AF%E6%9C%8D%E5%8A%A1%E7%94%A8%E6%88%B7%E6%89%8B%E5%86%8C.zip 阅读全文
posted @ 2021-03-16 15:47 callbin 阅读(100) 评论(0) 推荐(0) 编辑

摘要: 生成端发消息 package com.bfxy.rabbitmq.api.delay; import java.io.IOException; import java.util.HashMap; import java.util.Map; import com.rabbitmq.client.AMQ 阅读全文
posted @ 2021-03-16 15:29 callbin 阅读(192) 评论(0) 推荐(0) 编辑

摘要: 代码演示 生成端 package com.bfxy.rabbitmq.api.limit; import java.util.HashMap; import java.util.Map; import com.rabbitmq.client.AMQP; import com.rabbitmq.cli 阅读全文
posted @ 2021-03-16 14:54 callbin 阅读(86) 评论(0) 推荐(0) 编辑

摘要: 生成端 package com.bfxy.rabbitmq.api.confirmlistener; import java.io.IOException; import com.rabbitmq.client.Channel; import com.rabbitmq.client.ConfirmL 阅读全文
posted @ 2021-03-16 14:35 callbin 阅读(81) 评论(0) 推荐(0) 编辑

摘要: 一、消息如何保障 100%的投递成功 阅读全文
posted @ 2021-03-16 11:58 callbin 阅读(77) 评论(0) 推荐(0) 编辑

摘要: 一、Exchange 交换机 2.交换机类型 (一) Direct Exchange 直连 2)Direct 生产者 生产者只关心 Exchange package com.bfxy.rabbitmq.api.exchange.direct; import com.rabbitmq.client.C 阅读全文
posted @ 2021-03-16 10:37 callbin 阅读(207) 评论(0) 推荐(0) 编辑

摘要: 一、pom依赖引入 <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId> <version>3.6.5</version> </dependency> 二、生产者 Routingkey 要和 阅读全文
posted @ 2021-03-16 10:11 callbin 阅读(79) 评论(0) 推荐(0) 编辑