Re: [Quickfix-users] sequence reset, CME iLink
Brought to you by:
orenmnero
From: QM <eqm...@nw...> - 2012-04-27 00:19:39
|
Thanks for the notes, everyone. For future reference, the problem was twofold: 1 - despite having set PersistMessages and RefreshOnLogon in my config, I was still using NullStoreFactory (a leftover from the old code) instead of FileStoreFactory. That meant QuickFIX wasn't reading/writing sequence numbers to file. 2 - once QuickFIX had generated a .seqnums file, I was able to edit it and set the proper values. (In an ideal world, there would be an option to reset the sequence numbers to 1:1 -- what CME refers to as an "in-session logon" -- but hand-editing the .seqnums file works just fine for my workflow.) Cheers On Thu, Apr 26, 2012 at 13:08, Hei Chan <str...@ya...> wrote: > a side note: when I used 1.12.4, I never ran into the same issue. Not > sure it is a bug introduced in 1.13.3. > > ------------------------------ > *From:* Hei Chan <str...@ya...> > *To:* QM <eqm...@nw...>; " > qui...@li..." < > qui...@li...> > *Sent:* Thursday, April 26, 2012 11:07 AM > *Subject:* Re: [Quickfix-users] sequence reset, CME iLink > > option 2 is probably not allowed by CME; otherwise, you could configure > QuickFIX to resetOnLogon. > > I ran into the same issue too, and I looked at the code, and I *think* > that QuickFIX somehow failed to open the .seqnum file and so the .seqnum is > wiped out. I haven't got time to add more debug log. > > ------------------------------ > *From:* QM <eqm...@nw...> > *To:* qui...@li... > *Sent:* Thursday, April 26, 2012 9:56 AM > *Subject:* [Quickfix-users] sequence reset, CME iLink > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi All, > > I'm not new to QuickFIX, but this is my first time setting up QuickFIX for > CME/iLink and weeklong sessions. The problem I've run into is that my > QuickFIX app sends a logon message with sequence number 1 and the other end > responds: > > "Sequence number received lower than expected." > > and logs me out. While the message is indeed true, I can't tell how to > handle this using QuickFIX. Ideally, I'd want my app to be able to: > > 1 - send the proper sequence number (e.g., pulled from file, via > PersistMessages and FileStorePath) > > 2 - if that fails (e.g., the file is missing) then tell the other side > that we want to reset the sequence numbers back to 1 > > Does QuickFIX have config settings to do option #2? > > I've seen some threads online in which the authors mention having modified > QuickFIX, but they're hazy on details. Someone else posted a patch but > that yields the same behaviour as described above. > > I tried this using QuickFIX C++, versions 1.13.3 and svn r2330. > > Thank you. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > > > > |