Has anyone found a smart way to use NServiceBus, without having to implements that useless IMessage marker interface for all messages?
Especially, when using DomainEvents, I would absolutely hate to couple my domains to a specific servce bus implementation.
The IMessage interface is needed so that NServiceBus can automatically register those types in the serializer. When using domain events, it isn’t recommended to publish them directly on the bus – instead, a domain event handler would translate them to service-level events (which inherit IMessage).