ardalis / pluralsight-ddd-fundamentals

Sample code for the Pluralsight DDD Fundamentals course by Julie Lerman and Steve "ardalis" Smith
MIT License
896 stars 314 forks source link

Consider MassTransit for RabbitMQ messaging #73

Closed ardalis closed 2 months ago

ardalis commented 3 months ago

I've found that setting up and working with MassTransit is much simpler than working with RabbitMQ directly.

See: https://ardalis.com/introduction-to-masstransit-csharp-guide/

Consider adding a dependency on MT and using it to wrap all access to RMQ and updating all code and configuration accordingly. If there are reasons this won't work describe them in comments here or in associated PR.

lloydkevin commented 2 months ago

@ardalis a couple of questions/considerations:

ardalis commented 2 months ago
  1. Not sure but I don't think I dove into the weeds in the course. In any case we are updating the course right now so if I need to it I can do so.
  2. Contracts can be simply copied for now (as in, put the same .cs file on both sides of the conversation) if that works.