6.8.3 Configure Spring REST App as Transaction Participant

Based on whether the resource manager is compliant with XA or not, set environment variables and implement different classes from the MicroTx library to configure your Spring REST participant application.

Note:

Ensure that the response body is not null for all the REST APIs that participate in the transaction.