# tx-message **Repository Path**: giteeyyq/tx-message ## Basic Information - **Project Name**: tx-message - **Description**: 事务消息工具 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-17 - **Last Updated**: 2021-01-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tx-message #### 介绍 事务消息工具 #### 软件架构 核心流程比较简单: 1. 开启事务(默认Spring做了) 2. 正常业务操作 3. 发消息改为插入消息表一条记录,如果失败了立即回滚 4. 提交事务(默认Spring做了) 5. 事务提交后通知,然后发送消息,并更新记录状态。做好try catch,不要影响业务。 ##### 表结构设计