{{Quickfixn}} FromApp not being called Onlogout

Fernando Furukawa ferfurukawa at gmail.com
Mon Oct 21 10:09:55 PDT 2013


Hello James,
I'am not an expert of QuickFix, but as far as I know, Logon and Logout
messages are Admin Messages, and need to be implemented their
OnMessage(Logon/Logout Message)

If you doesn'nt implement resend, etc. Try to set ResetOnLogon on acceptor
session

Thanks



On Mon, Oct 21, 2013 at 2:47 PM, Gaull, James <JGaull at ftportfolios.com>wrote:

>  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!****
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131021/63ad0c7d/attachment-0002.htm>


More information about the Quickfixn mailing list