Announcement Announcement Module
Collapse
No announcement yet.
Spring multiple transaction managers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring multiple transaction managers

    Hi,

    I have written a custom REST compensation framework in spring which records a REST call along with compensation call info (using annotations and AOP) which will be executed if there is a exception in the down the line.

    E.g
    rest call 1 (sucess) -> rest call 2 (failed) -> rest call 1 compensation.

    The application also uses JTA transactions. Can I extend JTA transaction manager to call the compensation framework logic if the JTA transaction is rollback.
Working...
X