Re: [Quickfix-developers] Suppressing the QuickFix automatic logout response
Brought to you by:
orenmnero
|
From: mvictoryAtgmail <mvi...@gm...> - 2007-11-07 23:05:53
|
I can't throw FIX::DoNotSend within toAdmin. Throwing DoNotSend works in toApp, but the problematic logout message does not go through toApp. As best I can tell, the only place I can intercept that logout message is in toAdmin, but I can't seem to do anything useful to it. Djalma Rosa dos Santos Filho wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > I suspect that in toAdmin() you can also throw FIX::DoNotSend. > > On Nov 7, 2007 6:52 PM, mvictoryAtgmail <mvi...@gm...> wrote: > >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> When my client sends a message with a sequence number lower than the >> server >> is expecting, I get a logout message from the server with the error: >> >> MsgSeqNum too high, expecting 136 but received 1 >> >> I catch this message in my fromAdmin function within my application, and >> parse it to figure out what number I need to reset my sequence number to. >> (I >> can't find anywhere but my fromAdmin function that can see this message.) >> >> Unfortunately, QuickFix insists on sending a logout response to the >> logout >> message I received. My server does not expect a logout response, and it >> causes some sync issues before I can get reconnected. >> >> My question is: >> How can I suppress that logout response from QuickFix? I receive a >> message >> of type 5 from the server, but in the case of this particular error, I >> want >> to handle it myself. >> >> In my toAdmin function, I can see the logout message that I'm trying to >> suppress, but I can't figure out a way to get rid of it. I tried using >> Dispose() but that causes a crash. I also tried changing it to a >> heartbeat >> but it didn't stop quickFix from sending the logout message. >> >> Thanks! >> -- >> View this message in context: >> http://www.nabble.com/Suppressing-the-QuickFix-automatic-logout-response-tf4767298.html#a13635834 >> Sent from the QuickFIX - Dev mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Quickfix-developers mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- View this message in context: http://www.nabble.com/Suppressing-the-QuickFix-automatic-logout-response-tf4767298.html#a13638113 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |