8.6 Develop Node.js Apps with TCC

Use the MicroTx library with your Node.js applications.

For information about the MicroTx library, see Oracle® Transaction Manager for Microservices TypeScript API Reference.

Use the following TCC helper methods to confirm or cancel the transaction. Both initiator and participant services can access the helper methods.

Helper Method Description
ConfirmTCC(req.headers); Confirms the current TCC transaction.
CancelTCC(req.headers); Cancels the current TCC transaction.
GetTCCId(req.headers) Get the current TCC transaction ID.

Topics