Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
completeOrderCommand = CompleteOrderCommand.builder() .orderId(event.getOrderId()) .build(); commandGateway.send(completeOrderCommand); } } @SagaEventHandler(associationProperty = "orderId") public void handle(CancelPaymentEvent event) { //Trigger the cancel Order