Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
is captured in the ShipmentAggregate. It creates a CompleteShipEvent which handles the event and saves the Shipment data into MongoDB. @CommandHandler public ShipmentAggregate(CompleteShipCommand command) { // Publish the Order Shipped event CompleteShipEvent event = CompleteShipEvent.builder()