这两步都必须处理为一个逻辑工作单元(即事务),其中任何一个服务的失败都会向用户发送失败的信息。
Both steps have to be processed as a logical unit of work, and failure in one of the services will result in a failure message to the user.
当使用requires_new属性的几个方法通过服务间通信或编排在同一逻辑工作单元内调用时,该属性就会出现问题。
Problems occur with the REQUIRES_NEW attribute when methods using it are invoked within the same logical unit of work via inter-service communication or through orchestration.
服务合成(service composition)是相当复杂的,而且常常涉及到事务、工作单元边界、错误处理、安全性与证书分发、以及业务逻辑聚合等方面的问题。
Service composition is highly complex and often includes transactions, unit-of-work boundaries, error handling, security and propagation of credentials, and aggregation of business logic.
应用推荐