Contents
|
Introducing IEvent and ICommandOne of the new features in NServiceBus v3 is the introduction of two new message interfaces, IEvent and ICommand. The purpose is to capture more of the intent of the messages that you as a user are defining. This will help NServiceBus to enforce messaging best practices and stop you from doing crazy things:) Messages implementing ICommand
Messages implementing IEvent
So please go ahead and use those additional interfaces if you wan’t NServiceBus to help you fall into the pit of success. This article was written by Andreas Öhlund and the original blog post can be found here. |