Masstransit saga queue error
![masstransit saga queue error masstransit saga queue error](https://miro.medium.com/max/552/1*IQMC98ohOpNTA1_HNyebaw.png)
This defeats the purpose of having a Microservice architecture. So, why RabbitMQ in this scenario? Can’t we Directly POST to the OrderProcessing Microservice? These details will finally be stored to a database and the user will be notified by email of the order state. The ticket details would be sent to a RabbitMQ Queue, which would later be consumed by the OrderProcessing Microservice. Internally, this generates a POST request from the Ticket Microservice. The user buys a tickets via the front-end. We will have 2 Microservices with RabbitMQ connection for communication.
![masstransit saga queue error masstransit saga queue error](https://i.stack.imgur.com/DOCs6.png)
Let’s mimic a ticketing application where the user can book his/her ticket. Even if all the consumers are offline, the messages are still in RabbitMQ waiting for the consumers to come online and take the message off their particular queues. This does not in any way affect the integrity of the system.
#MASSTRANSIT SAGA QUEUE ERROR OFFLINE#
Here consumer #3 is offline for a specific time. Here is a simple demonstration of work-flow in a basic RabbitMQ setup. Once the Service comes online, it consumes the pending messages and processes it.
![masstransit saga queue error masstransit saga queue error](https://avatars.cloudflare.steamstatic.com/d7cdc06f957f6b78a9bceff3d49348c94def6cb8_medium.jpg)
Setting up the the Publisher Microservice.Getting Started – RabbitMQ with ASP.NET Core.Enabling RabbitMQ Management Plugin – Dashboard.
#MASSTRANSIT SAGA QUEUE ERROR WINDOWS#
Installing RabbitMQ as a Service in Windows.