Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
OrderAggregate() {} @CommandHandler public OrderAggregate(CreateOrderCommand createOrderCommand) { //Publish the Order Create Event OrderCreateEvent orderCreateEvent = OrderCreateEvent.builder() .orderId(createOrderCommand.getOrderId()) .orderStatus(createOrderCommand.getOrderStatus())