I'm starting to use Mass Transit and I have one question. I'm using clean architecture with a mediator pattern. My project's structure is as follows:
- Domain
- Infrastructure
- Application
- WebApi
I would like to add Mass Transit, so I've added the following projects:
- SharedContracts
- Messaging
My question is: should I write the logic in the consumers, or should I put it in the application's handlers? What is your opinion on this?
Thank you.