Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
@Autowired private CommandGateway commandGateway; public String createOrder(OrderObject orderRestModel) { //Generate an Order ID String orderId = UUID.randomUUID().toString(); //Create an CreateOrderCommand CreateOrderCommand createOrderCommand = CreateOrderCommand.builder() .orderId(orderId)