Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
on(CompleteShipEvent event, ShipmentEventHandler nh) { this.shipmentId = event.getShipmentId(); nh.onCompleteShipEvent(event); } } ShipmentEventHandler package com.saga.demo.shipment.handler; import org.springframework.beans.factory.annotation.Autowired; import