如果现有接受者失败,我们可以将发起者连接到备用 FIX 接受者吗?

Can we connect initiator to alternate FIX acceptor if existing acceptor failed?

我的机器上有一个 FIX 启动器 运行,两个 FIX 接受器 'A' 和 'B' 在不同的机器上 运行。如果假设 'A ' 无法响应,那么我想自动连接到接受器 'B'。 是否可以配置 FIX 发起方或接受方?

提前致谢...

你可以的。 It is mentioned in the config section of Quickfix/J

这是您需要为故障转移到另一台主机的启动器执行的输入。将其放入您的启动器配置文件中。

SocketConnectHost Alternate socket hosts for connecting to a session for failover, where n is a positive integer. (i.e.) SocketConnectHost1, SocketConnectHost2... must be consecutive and have a matching SocketConnectPort[n]