Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
event, PaymentEventHandler nh) { this.paymentId = event.getPaymentId(); nh.onCancelPaymentEvent(event); } } PaymentEventHandler package com.saga.demo.payment.handler; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import