6.10.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 notnull
for all the REST APIs that participate in the transaction.
- Configure Spring REST Apps with an XA-Compliant Resource Manager
Use the information provided in this section to configure your Spring REST-based participant applications when you use an XA-compliant resource manager. - Configure Spring REST App with Multiple XA-Compliant Resource Managers
Use the information provided in this section to configure your Spring REST participant applications when you use multiple XA-compliant resource managers. - Configure Spring REST App with a Non-XA JDBC Resource
Use the information provided in this section to configure your Spring REST participant applications when you use a JDBC resource that does not support XA. - Configure Spring REST App with a Non-XA and Non-JDBC Resource
Use the information provided in this section to configure your Spring REST participant applications when you use a resource that does not support XA and JDBC. - Configure JPA-Based Spring REST Apps with XA-Compliant Resource Manager
Use the information provided in this section to configure Hibernate or EclipseLink as the JPA provider for your Helidon or Spring REST applications which participates in an XA transaction when you use an XA-compliant resource manager.
Parent topic: Develop Spring REST Apps with XA