Last post Aug 14, 2020 02:40 PM by bruce (sqlwork.com)
Aug 14, 2020 02:08 AM|neoaguil17|LINK
Image that you have and Microservices which shared data with an ESB.
How can I manage the transactions?
For instance, I add a customer in the erp database and send that client to the ESB, the problem is that the legacy application can not read the client so I need to perfom a rollback of that client in the ERP. How can I do that?
Aug 14, 2020 02:40 PM|bruce (sqlwork.com)|LINK
There is no magic transaction manager. You will need to handle the case with code. You should look at the Saga pattern. It’s the most common for micro services. Just google for lots of articles.