Distributed Transaction, Saga Pattern, Axon Framework, Spring Boot, Microservices.
shipment.setPaymentId(event.getPaymentId()); shipment.setShipmentId(event.getShipmentId()); shipment.setShipStatus(event.getShipmentStatus()); shipment.setUserId(event.getUserId()); shipment.setComment("Shipment Placed"); repository.save(shipment); }catch(Exception e) {