Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
AggregateLifecycle.apply(orderCreateEvent); } The CreateOrderCommand handler creates a OrderCreateEvent. The Aggregate class has an Event Handler for that: @EventSourcingHandler public void on(OrderCreateEvent event,OrderEventsHandler nh) { this.orderId = event.getOrderId();