Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
can create the next transaction step which is payment COMMAND String paymentId = UUID.randomUUID().toString(); //Associate the payment ID SagaLifecycle.associateWith("paymentId", paymentId); //Create a command to make payment CompletePaymentCommand command = CompletePaymentCommand.builder()