[Quickfix-developers] Initiator Reconnect?
Brought to you by:
orenmnero
From: Robert L. <le...@qe...> - 2009-11-09 18:22:33
|
I am using the C++ library for QuickFIX version 1.12.4. I have a FIX::Application implementation that successfully connects to and logs into the executor example application (that comes with the library). Things seem to be working as expected however if the client starts up after the executor server or the executor server goes down and doesn't come up within 15 seconds, the client doesn't attempt to connect to it. I assume that should expect the client to retry connecting to the server but that is not happening and do I see anything relevant in the docs at http://www.quickfixengine.org/quickfix/doc/html/index.html To make things clear here are the two scenarios I quickly outlined: 1) Client starts before Server a. Execute my application b. Wait a few seconds c. Client application logs "Connecting to localhost on port 5001" d. Start executor server (using run_executor_cpp) e. Executor starts up successfully f. Client application never retries to connect to executor server 2) Server exists/crashes before Client a. Start executor server (using run_executor_cpp) b. Executor starts up successfully c. Execute my application d. Connection is made and login successful e. Kill executor server (manually for testing) f. Client application gets disconnect and logout event g. Client application attempts to reconnect and logs "Connecting to localhost on port 5001" h. Wait 15 or so seconds i. Start executor server (using run_executor_cpp) j. Executor starts up successfully k. Client application never retries to connect to executor server Should I be doing something in code to get this reconnect behavior working? Thanks, Robert Levas Systems Architect/Developer QED Financial Systems, Inc. 10,000 Sagemore Marlton, New Jersey 08053 USA tel 856.797.1200 fax 856.797.9719 email <mailto:le...@QE...> le...@QE... This electronic message is intended only for the receipt by, and the personal and confidential use of, the designated recipient(s) named above. If you are not an intended recipient of this electronic message you are hereby notified that any review, dissemination, distribution or copy of this message is strictly prohibited. QED Financial Systems, Inc. reserves all rights to the content of this electronic message, which is the exclusive property of QED Financial Systems. |