Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
event.setShipmentStatus("ERROR"); event.setComment("Shipment gateway error"); } } } In this event handler, we have hard coded a condition to fail when the user id is RWE0004. ShipmentRepository package com.saga.demo.shipment.repository; import