1

我遇到了这个问题,想也许有人可以帮助我。

所以我在我的 RabbitMQ 服务器上添加了一个集群节点。现在我想连接到我的客户端上的服务器。我希望 MassTransit 连接到第一个可用的服务器,就像 RabbitMQ.Client 一样,您可以传递一个端点数组,它将连接到第一个可用的服务器。

谢谢,佩曼

4

1 回答 1

2

It doesn't appear that this is currently supported. RabbitMqTransportFactory

It may not be relevant, but we are using clustering as well. Each of our machines that host a client (message sender and receiver) is also a Rabbit Node in the HA Cluster. So the client only ever talks to localhost. This makes config easier and no network hops.

于 2013-06-24T13:32:49.150 回答