Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
createOrder(@RequestBody OrderObject orderRestModel) { return _service.createOrder(orderRestModel); } } The REST endpoint where we will initiate an order. SagaDemoService package com.saga.demo.order.service; import java.util.UUID; import org.axonframework.commandhandling.gateway.CommandGateway;