NServiceBus - 在单个服务中混合 RabbitMq 和 Msmq 传输

NServiceBus - mixed RabbitMq and Msmq transports in single service

我们正在使用 NSB 6.0。我们有一个 windows 服务从 RabbitMq 中提取消息,当处理这些消息时(在同一服务中),我们想向 Msmq 传输发布一个新事件。

我尝试在单个 windows 服务中使用 this approach 配置多个端点。一个端点配置了 RabbitMqTransport,一个端点配置了 MsmqTransport。但是,当配置 Msmq 端点的代码为 运行 时,会引发此异常:

"The given key (RabbitMQ.RoutingTopologySupportsDelayedDelivery) was not present in the dictionary.'"

所以我的问题是:是否可以在单个服务中托管 NSB RabbitMq 和 Msmq 传输?谢谢

看看SQL - MSMQ bridge and also look at the Bridge community component

在他们两个之间,您应该有足够的信息来构建您的解决方案。

如果需要更多帮助,请联系我