Difference between IMessage, ICommand in NServiceBus? -


in nservicebus have different message type imessage, icommand, ievent communicate between system. difference between imessage, icommand,ievent? business scenario should use these types?

thanks

as explained in documentation:

message unit of communication nservicebus, there 2 types of messages:

  1. command used 1 or more senders ask specific action specific receiver. no broadcasting supported.
  2. event used single sender notify many receivers action has taken place.

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -