Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
lombok.Builder; import lombok.Value; @Value @Builder public class CompleteShipCommand { @TargetAggregateIdentifier private final String shipmentId; private String orderId; private String userId; private String paymentId; private String shipmentStatus = ServiceTypes.SHIP_STATUS.COMPLETE.toString();