Re: [Quickfix-users] Resetting sequence number without send 141 tag
Brought to you by:
orenmnero
From: FD P. <fdp...@gm...> - 2011-01-28 02:26:21
|
Ricci, the session object as a reset() method which resets the seq no's. This is what it looks like in vb.net Dim SessionID As QuickFix.SessionID Dim mySession As QuickFix.Session mySession = Session.lookupSession(SessionID) mySession.reset() You could call it before the start() method or maybe after a logout event. FDP On Thu, Jan 27, 2011 at 9:25 AM, Fabiano Ricci <fab...@ga...>wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hello, > > I am new to quickfix and this mailing list, I am glad to say hello to you > all. > > I just have a simple question for you. > > *Context*: > I am developing an app using QuickFix Cpp lib, I am acting as Initiator and > I don't have any kind of control on the server side. The server uses a > custom Fix protocol (that mean is FIX5.0SP with some modifications). > > *Problem*: > I need to reset sequence numbers every time I make a new connection to the > server (that could happens many times per day). The problem is that the > server doesn't accept a logon request with ResetSeqNumFlag (Tag = 141) > param. So every time I make a logon request to the server I need to reset > sequence numbers on database and send a fix logon message with sequence > number equal to 1, but without the resetting request tag. > > > I have found few discussions on this. One of these suggests to use a not > documented configuration parameter like: > > SendResetSeqNumFlag=N > > in addition with: > > ResetOnDisconnect=Y > ResetOnLogout=Y > > But it doesn't works. > > > Any suggestions for me, please? > > Thanks in advance, > > Regards > -- > > *Fabiano Ricci* > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > |