Skip to content

Latest commit

 

History

History
40 lines (20 loc) · 1.49 KB

File metadata and controls

40 lines (20 loc) · 1.49 KB

Saga State Machine & MassTransit Automatonymous & Request Response Pattern

This sample project was developed with .NET Core 6.0, where I used RabbitMQ as the message broker and MongoDB to persist the state machine data. It includes MassTransit Automatonymous & Request/Response Pattern & Basic Order Management Flow implementations.

Installation

This project needs MongoDB and RabbitMQ to run correctly. Hence, you can install these as Docker containers or directly to your local.

Docker Installation

https://www.docker.com/products/docker-desktop

RabbitMQ: docker run -d -p 15672:15672 -p 5672:5672 --name rabbitmq rabbitmq:3-management

MongoDB: docker run -d -p 27017:27017 --name mongodb mongo:latest

For Direct Installation

RabbitMQ: https://www.rabbitmq.com/download.html

MongoDB: https://www.mongodb.com/try/download/community


You can check the article regarding this project, If you are interested in theory part of it.

https://medium.com/adessoturkey/saga-state-machine-masstransit-automatonymous-request-response-pattern-10f14603964

Happy Coding...


.Net Core RabbitMQ MongoDB