Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
event.getPaymentId(); nh.onCompletePaymentEvent(event); } This saves the Payment information in MongoDB and the event is propogated to the OrderSystemSaga class which is handled here: @SagaEventHandler(associationProperty = "paymentId") private void handle(CompletePaymentEvent event) { //IF PAYMENT