Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
import com.saga.demo.core.models.Order; import com.saga.demo.order.repository.OrderRepository; @Component public class OrderEventsHandler { @Autowired private OrderRepository orderRepository; public void onOrderCreateEvent(OrderCreateEvent event){ Order order =