8 Develop Applications with Saga
The Transaction Manager for Microservices (MicroTx) library for Spring REST, Micronaut, and Node.js apps provides the functionality to initiate a new Saga transaction or to participate in an existing Saga transaction.
This section provides instructions to integrate MicroTx library with your application. Refer to the sample code of Travel Agent application that uses the Saga transaction protocol to book a trip. The MicroTx library files are already integrated with the application code. Link to the relevant files is available in each section. You can refer to the code of the sample application while you integrate the MicroTx libraries with your application.
Topics
- Workflow to Develop Applications with Saga
- Propagate Oracle-Tmm-Tx-Token for multiple REST API calls
When the business logic of your application spawns across multiple API calls to complete a transaction, you must propagateOracle-Tmm-Tx-Token
for multiple REST API calls. - Develop Java Apps with Saga
You can develop JAX-RS and Spring-REST based applications that use the Saga transaction protocol. - Develop Node.js Apps with Saga
The MicroTx library for Node.js provides the functionality to initiate a new Saga transaction or to participate in an existing Saga transaction. You must integrate this library into your Node.js application code.