workflow-engine/workflow-engine-spring-boot-starter/README.md

17 lines
893 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Workflow Engine Spring Boot Starter
### 说明
该 module 主要是为业务方提供快速接入工作流引擎的能力starter
的架构设计点击[查看](https://alidocs.dingtalk.com/i/nodes/Obva6QBXJwDeXvymIv1mQmR48n4qY5Pr)
### 功能点
- 包装监听 Workflow Engine 服务端所有的广播事件,业务方仅简单实现或继承指定类完成自己的业务逻辑即可,不再关注其他细节。
- 内部与工作流的数据交互,也将异步解耦,确保在调用对端服务时,不会因为对端服务中止而失败。
- 内部将主动监听 MQ 队列,避免因为顺序消费从而导致的队列阻塞。
- 本地启动将不再主动消费容器环境中的 MQ 广播,避免本地异常消费。
- 包装引擎抛出的所有异常,不再由业务方判断各类异常 code而由 starter 统一确定是否抛出异常。
### 使用方法