Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
completeOrderCommand) { //Publish the Order Completed Event CompleteOrderEvent event = CompleteOrderEvent.builder() .orderId(completeOrderCommand.getOrderId()) .orderStatus(completeOrderCommand.getOrderStatus()) .build(); AggregateLifecycle.apply(event); } @CommandHandler public void