[Quickfix-developers] RE: Logout and DoNotSend
Brought to you by:
orenmnero
From: Chris a. K. K. <ko...@ch...> - 2003-10-18 17:49:05
|
Olivier, I'm running into the same problem using the QuickFIX 1.6 Java API. I've written an elaborate Java client that we're using as a testool for our production FIX engine. In an effort to logout cleanly, I also am sending a Type 5 message. Our FIX engine responds, and QuickFIX in turn sends yet another logout. Unlike your scenario, the FIX engine under test is running on another box on the LAN, but response times are fast. Unfortunately, this behavior has turned into a real problem. On subsequent logon attempts, our engine sends session rejects because the sequence numbers are now off by one. This interferes with testing of certain scenarios. I tried similar workarounds, trapping the messages in both toAdmin( ) and from Admin( ). In one case I tried stopping/terminating when QuickFIX was about to send the second logout request, in the other stopping right after receiving the logout response. Both approaches still resulted in the sequence numbers ending up out of sync. I'm not a C++ developer, and am not familiar with the QuickFIX internals. Oren, please permit me to request a fix for this issue, and a new release. Thanks for your consideration. By the way, QF/Java has been a pleasure to use. Thank you for a great product! Chris Kokis |