[Quickfix-developers] Using .seqnums file to trigger a full resend
Brought to you by:
orenmnero
From: <daw...@ya...> - 2017-02-23 03:29:17
|
Hi Guys, I'm trying to trigger a resend of all the executor's messages for the day. I manually set the incoming seq no in the .seqnums file to 0, then login and this triggers a resend request for all messages as soon as my FIX engine receives the logon response message - all good so far. All the messages are resent and received correctly. The problem is when I log out I can see that the .seqnums file does not have the updated incoming seq no (it's just set to 1) so when I log in again it triggers another resend request. This problem should be very easy to reproduce. The steps are:- 1. Log on 2. Send order 3. Receive execution 4. Log out 5. Manually change the .seqnums file from "0000000004 : 0000000004" to "0000000004 : 0000000000" 6. Log on (resend is triggered) 7. Log out. 8. Check the seqnums file again and you get "0000000007 : 0000000001" when it should be "0000000007 : 0000000006" Any ideas? Thanks a lot! Dermot |