Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
com.saga.demo.core.events.CancelOrderEvent; import com.saga.demo.core.events.CompleteOrderEvent; import com.saga.demo.core.events.OrderCreateEvent; import com.saga.demo.order.handler.OrderEventsHandler; @Aggregate public class OrderAggregate { @AggregateIdentifier private String orderId; public