Parallel Execution of Service Tasks in Threads

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011 07:39 PM
Hello,
in order to achieve real parallel execution of Service Tasks I implement a Task Listener of a User Task which starts a Worker Thread. Meanwhile the process goes on in parallel branches. After finishing, the Worker Thread completes the User Task via the runTimeService.
Are there any pitfalls for this workaround or better ways to do parallel execution ?
Thanks
Christian
in order to achieve real parallel execution of Service Tasks I implement a Task Listener of a User Task which starts a Worker Thread. Meanwhile the process goes on in parallel branches. After finishing, the Worker Thread completes the User Task via the runTimeService.
Are there any pitfalls for this workaround or better ways to do parallel execution ?
Thanks
Christian
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011 07:59 PM
Lots possible pitfalls. What if one fails? Rollback? Retry? I so, how often etc… Best is to vote for ACT-126 in jira
