How to write transactional service tasks with custom rollback methods

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2014 07:31 PM
Hi all,
I have several service tasks which call different endpoints in an API in order. If one fails, I would like all of the preceding service tasks to be rolled back with a custom rollback method. I am using Spring for this project and would appreciate any pointers on how to set this up.
I have several service tasks which call different endpoints in an API in order. If one fails, I would like all of the preceding service tasks to be rolled back with a custom rollback method. I am using Spring for this project and would appreciate any pointers on how to set this up.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2014 05:03 AM
