← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2285.l.12

异步响应的关联标识

理解等级:高级

异步请求必须携带关联标识,使回复找到正确等待实例。优先为每次通信由客户端新建UUID并本地保存。工作流实例ID可能因重启或厂商变化而改变;订单ID在拆分付款时又无法区分同订单的多笔请求。通信专用标识将技术关联与业务身份分离。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 工作流引擎与集成挑战 · 查看原书依据

      Use artificial IDs like a UUID that is generated just for that communication. When you send a payment request, you generate a new UUID in the client and store it locally in the client (e.g., in its process variables). This ID serves solely for correlation for that single communication, which means that you won’t get

    参考来源

    - 位置:《Practical Process Automation》第9章《工作流引擎与集成挑战》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch09.xhtml) - 结论依据:原文给出的机制、实例与边界支持本卡的解释。 - 原始内容:Use artificial IDs like a UUID that is generated just for that communication. When you send a payment request, you generate a new UUID in the client and store it locally in the client (e.g., in its process variables). This ID serves solely for correlation for that single communication, which means that you won’t get