NServiceBus not publishing any messages
I'm working with NSB (latest version), got to the stage where I configure 开发者_Python百科it correctly and manage to publish messages onto the bus. Only problem is - I'm not getting any of them in my message queues. The event log is clean - nothing to help me diagnose the error.
Help greatly appreciated!
The description of your problem is pretty brief, but since you are not getting any error messages and you're using the word "publish", I am guessing that you have forgotten to subscribe to your message.
Services that want to receive a published message need to issue a call to bus.Subscribe<SomeMessageType>
somewhere - possible in the Run
method of a class that implements IWantToRunAtStartup
.
精彩评论