Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
public void on(OrderCreateEvent event,OrderEventsHandler nh) { this.orderId = event.getOrderId(); nh.onOrderCreateEvent(event); } } Each Microservice will have an Aggregrate class that determines the flow of commands and the event each command fires. OrderEventsHandler package