Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
com.saga.demo.shipment.handler.ShipmentEventHandler; @Aggregate public class ShipmentAggregate { @AggregateIdentifier private String shipmentId; public ShipmentAggregate() {} @CommandHandler public ShipmentAggregate(CompleteShipCommand command) { // Publish the Order Shipped event CompleteShipEvent