0
我有一個端點承載在完全配置了代碼的azure輔助角色中,我無法關閉ForwarReceivedMessagesTo功能。儘管我沒有指定此功能,但默認的「審覈」隊列不斷創建並且所有消息都被轉發。無法禁用NServiceBus中的ForwardReceivedMessagesTo 4
我在這裏失蹤了什麼?
下面是UnicastBusConfig配置覆蓋我使用:
/// <summary>
/// Configuration for Routing the Messaging
/// </summary>
internal class EndpointRoutingConfiguration : IProvideConfiguration<UnicastBusConfig>
{
public UnicastBusConfig GetConfiguration()
{
return new UnicastBusConfig
{
MessageEndpointMappings = new MessageEndpointMappingCollection
{
new MessageEndpointMapping
{
Messages = MESSAGES_ASSEMBLY_NAME,
Endpoint = SERVER_QUEUE_NAME
}
}
};
}
}