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:
command
used 1 or more senders ask specific action specific receiver. no broadcasting supported.event
used single sender notify many receivers action has taken place.
Comments
Post a Comment