{{Quickfixn}} Unknown message type: Logon message (35=A)

Manuel Lopez lopez.post at gmail.com
Tue Jan 14 13:16:38 PST 2014


fyi one thing I encountered is that, if you use cracker in "FromAdmin"
(which I think I need to figure out the "text" (tag 58) carried in the
messages of counterparty logouts; that's where they put serious
errors),
an error gets thrown if the log-ON message type isn't also handled
(though there's no error on not handling sequencereset or heartbeat
msg types)--I mean handled with a
     public void OnMessage(QuickFix.FIX44.Logon msg, SessionID sessId) {}
(a handler in OnLogon is NOT enough, which is after logon is done)

So receiving this message:
20140114-20:36:35.503 : 8=FIX.4.4  9=0079  35=A  34=272
52=20140114-20:36:35.422  49=Them  56=Me  98=0  108=60  10=250

produces this error (when Crack is used in FromAdmin and there is no
custom OnMessage handler for the Logon message type):
QuickFix.UnsupportedMessageType: Exception of type
'QuickFix.UnsupportedMessageType' was thrown.
    at QuickFix.MessageCracker.Crack(Message message, SessionID
sessionID) in c:\source\quickfixn-master\QuickFIXn\MessageCracker.cs:line
95
   at CsCta.QfApp.FromAdmin(Message msg, SessionID sessId) in
c:\MyProject.cs:line 278


More information about the Quickfixn mailing list