1

私はエンドポイントでのみ使用しています(Bus.Reply()ではなくBus.Publish())(すべて構成済みAsA_Server)。それらの1つを起動すると、次の警告が表示されます。

2013-02-27 14:11:02,574 [Worker.15] WARN NServiceBus.Unicast.UnicastBus [(null) ] <(null)> - Subscription message from [not the currently running endpoint's queue]@my machine arrived at this endpoint, yet this endpoint is not configured to be a publi sher.

AsA_Publisher構成されたエンドポイント間で要求/応答を行うために構成する必要がありますAsA_Serverか? 全二重サンプルは、この分野で追加のガイダンスを提供していないようです。

4

1 に答える 1

1

アンドレアス・オーランドあたり

これは単なる警告です。自動サブスクリプションをオフにして回避してください。

これを行うコード:

Configure.UnicastBus().DoNotAutoSubscribe();

また、Andreas によると、 AutoSubscription はメッセージにのみ適用されIEventます。

于 2013-02-27T20:02:29.007 に答える