You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2024. It is now read-only.
When this command is executed, it raises a `PaymentRecorded` event, which gets persisted to the database.
30
-
A gateway inside the Payments service subscribes to this event and publishes an integration event to RabbitMQ.
31
-
An integration RabbitMQ subscription receives the integration event and calls the Bookings service to execute the `RecordPayment` command, so it acts as a Reactor.
32
-
When that command gets executed, it raises a `PaymentRecorded` event, which gets persisted to the database. It might also raise a `BookingFullyPaid` or `BookingOverpaid` events, depending on the amount.
33
-
Those new events are projected to MongoDB document in the `Bookings` collection using the read-model subscription.
31
+
-When this command is executed, it raises a `PaymentRecorded` event, which gets persisted to the database.
32
+
-A gateway inside the Payments service subscribes to this event and publishes an integration event to RabbitMQ.
33
+
-An integration RabbitMQ subscription receives the integration event and calls the Bookings service to execute the `RecordPayment` command, so it acts as a Reactor.
34
+
-When that command gets executed, it raises a `PaymentRecorded` event, which gets persisted to the database. It might also raise a `BookingFullyPaid` or `BookingOverpaid` events, depending on the amount.
35
+
-Those new events are projected to MongoDB document in the `Bookings` collection using the read-model subscription.
0 commit comments