What happens when I subscribe to a message using NServiceBus?
Posted
by Ben Aston
on Stack Overflow
See other posts from Stack Overflow
or by Ben Aston
Published on 2010-03-18T23:06:56Z
Indexed on
2010/03/18
23:11 UTC
Read the original article
Hit count: 486
nservicebus
|messaging
When I subscribe as the recipient of a certain type of message using NServiceBus
Bus.Subscribe<MyMessage>()
What am I actually doing? Am I specifying that a particular method on the recipient type will be invoked upon message receipt? If so, within what context does the method run - in a static context, or within the context of a new'd-up parent class instance (and if so, how does NServiceBus know what constructor to use)?
© Stack Overflow or respective owner