nservicebus5

NServiceBus unable to receive message

最后都变了- 提交于 2021-01-29 04:35:37
问题 I'm following the NServiceBus getting started guide (version 5) and I get the below error. When the client sends a command to the server, the server has issues to receive the message. The code is okay, because the exact same code on another machine is working. So something is missing on my machine. I did run this command as is mentioned in the tutorial: DISM.exe /Online /NoRestart /English /Enable-Feature /all /FeatureName:MSMQ-Server But it's still not working. 2016-11-01 19:50:47.316 ERROR

Why does NServiceBus on Azure not use my specified endpoint name?

*爱你&永不变心* 提交于 2019-12-13 04:34:59
问题 I have a console app that uses NServiceBus to publish a message to an Azure topic. However, NServiceBus creates a new topic with a different name, instead of the one I specified. Why is this? More details My message configuration looks as follows. This means that messages of Type 'TheResponse' should go to a Topic with the name, "test1", right? <UnicastBusConfig> <MessageEndpointMappings> <add Assembly="Messages" Type="Messages.TheResponse" Endpoint="test1"/> </MessageEndpointMappings> <

In CQRS how to work with NServiceBus to update Command and Query store

若如初见. 提交于 2019-12-11 10:46:23
问题 In CQRS, how do you make sure a command handler is updating the write store and read store transactionally? I am not sure if these two steps are suppoed to be a transaction? Or do you rely on eventual consistency here? Meaning the read store will be updated eventually? What is the (or a) common way to do this using NServiceBus 5 or 6? In our application, we have IRepository<T> (Add, Update) for the command side to update Sql Server database. The query side is simple. A database and a facade