Nov 29th, 2012, 05:04 AM
Spring multiple transaction managers
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.
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.
Tags for this Thread