Not creating queues automatically in NServiceBus

后端 未结 2 1044
广开言路
广开言路 2020-12-29 09:59

I\'m running NServiceBus 3.0.0 rc2 but when I start the application (as local admin) without pre-creating the MSMQ\'s it errors with :

The queue does

2条回答
  •  执笔经年
    2020-12-29 10:26

    I got around this by creating the queue on the client side manually (which is self hosted).

    Not sure, but I thought 2.x did this automatically. Host is creating the queues automatically, as expected, but not the client (self hosted).

    UPDATE: Like Andreas, senor guardo camino, stated, you need to call install manually like so;

    .Start(() => Configure.Instance.ForInstallationOn().Install());
    

    This will create the queues as expected.

提交回复
热议问题