Author: Gytis Trikleris Level: Intermediate Technologies: JTA, JMS, JPA, Spring Boot Summary: Demonstration of Narayana integration with Spring Boot
This quickstart demonstrates Narayana integration with Spring Boot.
It uses JMS and JPA to demonstrate transactional behaviour. Also, there is a system crash and recovery demonstration available.
All you need to build this project is Java 8.0 (Java SDK 1.8) or later and Maven 3.3.3 or later.
In your terminal navigate to the quickstart directory and execute one of the following scenarios:
-
Commit demonstration
mvn clean spring-boot:run -Drun.arguments="commit,Test Value"
-
Rollback demonstration
mvn clean spring-boot:run -Drun.arguments="rollback,Test Value"
-
System crash and recovery demonstration
mvn clean spring-boot:run -Drun.arguments="crash,Test Value"
mvn spring-boot:run -Drun.arguments="recovery"