Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smart-engine-core 3.0.0 并行网关异常处理 #89

Closed
caimoxuan opened this issue Jan 31, 2023 · 0 comments
Closed

smart-engine-core 3.0.0 并行网关异常处理 #89

caimoxuan opened this issue Jan 31, 2023 · 0 comments

Comments

@caimoxuan
Copy link

并行网关执行的时候,默认使用便利模式; 当实现了ExecutorService后, 使用并行模式这里看代码是
在 ParalleGatewayBehiavior 中的处理

executorService.invokeAll(tasks);

执行的所有并行callable, 这里好像没有异常处理呢, 当某一个并行线程抛出异常的时候, 这里就把异常吃掉了整个流程不报错; 我理解这里应该可以定制线程中抛出异常中断流程或者继续执行呢, 这个部分是怎么考虑的呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant