{{Quickfixn}} FromApp not being called Onlogout

Gaull, James JGaull at ftportfolios.com
Mon Oct 21 09:47:54 PDT 2013


Hello,

I'm pretty new to QuickFIX.  I'm using version 1.4.0.0 of the QuickFIX.dll in a C# Winforms application.  I want to test what my application will do if the message sequence number that I receive from the server doesn't match the sequence number I'm expecting.  After changing the NextTargetMsgSeqNum on my session, my application logs out and I see 2 messages related to this in the ".event.current.log".

20131021-13:29:06.435 : Verify failed: MsgSeqNum too low, expecting 20 but received 2
20131021-13:29:06.437 : Session FIX.4.2:SenderId->TargetId disconnecting: Verify failed: MsgSeqNum too low, expecting 20 but received 2

The problem that I'm having is that the FromApp function isn't being called before OnLogout so I can't capture the message about the sequence number mismatching.  I want to send an e-mail to myself if this situation occurs.


Here's my config:

[DEFAULT]
ConnectionType=initiator
ReconnectInterval=2
FileStorePath=c:\FIX\store
FileLogPath= c:\FIX\log
StartTime=00:00:00
EndTime=00:00:00
UseDataDictionary=Y
DataDictionary= c:\FIX\dictionary\FIX42.xml
SocketConnectHost=127.0.0.1
SocketConnectPort=5000
ResetOnLogon=Y
SendResetSeqNum=Y

# standard config elements

[SESSION]
BeginString=FIX.4.2
SenderCompID=SenderId
TargetCompID=TargetId
HeartBtInt=30


Any help is appreciated.  Thanks for your time!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131021/e97a4a96/attachment.htm>


More information about the Quickfixn mailing list