I'm currently thinking about a specific requirement and whether it is solvable with MassTransit or not.
I have a system where events could happen. I could abstract this events in terms of what happened (Create, Update, ...), on which type it happened and which record were affected.
This system has no chance to publish messages to either MassTransit or RabbitMQ directly. I would use some relay, which will do that in the name of this system.
The messages which should be published will contain for example Event:Create/Entity:account/ID:someid Nothing more, nothing less.
Is there any concept in MassTransit which I could use to subscribe to such a general message - but only a specific type. Like a subscription should only be registered for Event:create. Everything else should not be routed to this consumer.
Something like the Topic Exchanges of RabbitMQ.
For a better understanding. The goal is that the system publish all events to the bus. For integration tasks we would register new consumers for specific events. This should happen without adding new message classes to the system.
Any ideas?