# springboot-rabbitmq **Repository Path**: lingyun9527/springboot-rabbitmq ## Basic Information - **Project Name**: springboot-rabbitmq - **Description**: 在SpringBoot框架中使用RabbitMQ消息队列,并结合DeadLetter死信消息队列,模拟实现“订单超过30分钟未支付自动删除” - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-01-01 - **Last Updated**: 2023-01-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: SpringBoot, RabbitMQ, MyBatis ## README # springboot-rabbitmq #### 介绍 在SpringBoot框架中使用RabbitMQ消息队列,并结合DeadLetter死信消息队列,模拟实现“订单超过30分钟未支付自动删除” #### 软件架构 软件架构说明 SpringBoot 2.7.4 Mysql Mybatis druid RabbitMQ #### 安装教程 1. 导入/sql目录下的sql文件 2. 启动RabbitMQ 3. 将2个模块中的application配置文件的信息改成自己的 #### 使用说明 1. 启动消息监听者服务:运行consumer-service的ConsumerServiceApplication类 2. 启动消息生产者服务:运行publisher-service的PublisherServiceApplication类 3. 发起如下请求,生成订单: post:http://127.0.0.1:8081/order createTime:1 updateTime: 2 isDeleted: 0 (可以用postman工具模拟post请求) 生成的订单的is_deleted字段为0,30分钟会,这个is_deleted字段的值会自动更新为1 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)