Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 quickfix 连接到多个服务器/接受器的正确方法是什么?
在修复应用程序下为每个会话创建一个线程
为每个会话创建一个单独的应用程序,创建多个启动器,在单独的线程中启动每个启动器
还有另一个相关问题 - MultiThreadedInitiator 类如何适合...?
Quickfix 已经允许多个会话。它们只需要在您的配置文件中定义。从那时起,您可以使用 SessionID 跟踪消息。
我认为 MultiThreadedInitiator 确保每个会话都是在不同的线程中创建的。