Microservices, Microservice Patterns, Microservicesarchitecture, Saga Pattern.
Database”. Publishes a ‘payment rejected’ event to the “Payment Events” queue. Choreographed Compensation Workflow Order Microservice Listens on the “Payment Events” queue for payment status updates. Upon receiving a ‘payment rejected’ event, it compensates by changing the order status to CANCELLED