An introduction to MassTransit using RabbitMQ (In ASP.NET Core)

preview_player
Показать описание
In my last few videos, I have covered concepts of message broker using RabbitMQ. After covering the basic concepts of RabbitMQ, it's a natural progression to discuss MassTransit.

The video links for RabbitMQ fundamentals are here:

First, let us understand, what is MassTransit. MassTransit is an open-source framework for building distributed applications in .Net. Key features of MassTransit are:

1. Out of box integration available for RabbitMQ, ActiveMQ, Azure Service Bus, and Amazon SQS/SNS.
2. Supports message patterns such as event-driven state machines, sagas, message consumers, and support for distributed transactions.
3. Supports in-memory test harness, which makes it very easy to implement unit and integration tests.
4. Advanced monitoring features such as distributed tracing and service health checks.

In this video, I will walk through the basic concept of using MassTransit with RabbitMQ and build a couple of reactive microservices for communicating messages.

Рекомендации по теме
Комментарии
Автор

FOR ANYONE WATCHING IN 2023: AddMassTransitHostedService() is not necessary anymore, if it throws an error just delete it

Anja
Автор

Even after two years, this is the best explanation on the subject, and I wish you continue to produce quality content, subbed!

vinr
Автор

Wow, so simply - thank you for the first half of the video - it helped understanding the api a lot!

letsoverengineer
Автор

Awesome!!! video. Very easy to understand and explained it very well. Looking forward more videos on Mass Transit & RabbitMQ. Best thing I liked about this video is that you have explained it in both ways normal as well as with extension methods which helps to understand things in better way. Keep it up mate. Appreciate your work. Thanks!!!

akashkarve
Автор

Thank you It was the best example out there in internet

alirashidi
Автор

Concept cleared. Its good tutorial to understand from basics

avtarsashia
Автор

Explained well. Thanks for the wonderful lecture.

jeganathperialwar
Автор

I would like to see your video on saga pattern, I am watching for it 😁

christophertanghare
Автор

Based on the example from this video, I couldn't understand the benefit of using MassTransit. If I understand correctly, one service published a message and the other one consumed it. Isn't that what RabbitMQ does? What did we get by using MassTransit here?

JohnDoe-xidf
Автор

Thank you,
Can you create a video on Distributed transaction with saga orch. pattern.

SuperSagar
Автор

You help me a lot, I like the video and I will be your subscriber

ЯковЯсько-фп
Автор

How would i use this if the two services cannot share the same namespace and cannot have a reference to the same Order model? I implemented this into both my microservices but they are both in a different namespace. Right now it is not sending or receiving any messages in RMQ.

Acesteef
Автор

Wow.. awesome. thank you dude.
thank you so much

jelajahpasundanofficial
Автор

Why your publisher app's Configure(x) is using "temp-queue" but in your Consumer app, u r using "order-queue", isnt that gonna be an issue catching the message ?

lismai
Автор

Excellent tutorial. What if I deploy 2 consumers and in the queue there are many requests. Is there any chance that both consumers will pick the same message and create a conflict?

rpiisenh
Автор

I am still not able to figure out that what is the exact benefit of using mass transit...all these things we can do with rabbitmq without using this masstransit too...because adding also add extra complexity and required learning curve.
So there must be something where it is making major impact....kindly help

codewithkashif
Автор

Thanks for great tutorial. But i have a question. My models are seperated in different projects so i should create models in two places. How can i bind exchanges so exchange from one project can find exchange from another project. They have different namings by default :(

shamilgurban
Автор

I need to create topic exchange but don't know the syntex. Where I can find example and tutorials for this.

Gimmiyimmy
Автор

whats your preference between MassTransit and EasyNetQ?

xxXAsuraXxx
welcome to shbcf.ru