Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
private final String paymentId; private String orderId; private String userId; private String price; private String paymentStatus = ServiceTypes.PAYMENT_STATUS.CANCELLED.toString(); } Each of the Command has a @TargetAggregateIdentifier which maps a field as the aggregate identifier. We will go