Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
com.saga.demo.core.commands; import org.axonframework.modelling.command.TargetAggregateIdentifier; import com.saga.demo.core.models.ServiceTypes; import lombok.Builder; import lombok.Value; @Value @Builder public class CancelOrderCommand { @TargetAggregateIdentifier private final String orderId;