RE: [Quickfix-developers] Capturing Reject MsgType 35=3
Brought to you by:
orenmnero
|
From: Shepheard, T. (London) <Tob...@ml...> - 2006-01-31 15:53:51
|
Message type 3 (Reject) is an admin-type message, the middle of the three you list. See, for example, http://b2bits.com/fixopaedia/fixdic42/index.html for a useful FIX data dictionary which can help you lookup messages and/or fields by either Id or name. There are others too, the FIX website has some more links. =20 Caveat: What follows is from a QFJ perspective but I assume it is the same model for C#: =20 QuickFIX will do some automated handling of any admin message, but if you want to do anything special yourself then you should use the fromAdmin() callback. There's a brief explanation of the interface at http://www.quickfixengine.org/quickfix/doc/html/application.html - you might also want to look at the examples.=20 =20 The reason I suspect its not working for you is that I'm guessing you've only got a callback for fromApp(), which then calls the crack() method and, eventually, results in the relevant onMessage() method being called for any application level messages. If you add a fromAdmin() method, with a call to crack() then you would also get callbacks for the admin messages. Unlike normal application messages though, you won't get any error if you don't explicitly handle an onMessage method for an admin message (as they're typically handled internally). =20 Hope that helps, Toby -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Kenny Song Sent: 31 January 2006 15:18 To: qui...@li... Subject: [Quickfix-developers] Capturing Reject MsgType 35=3D3 =09 =09 Hi, =09 I'm currently implementing fix 4.2 with quickfix and C#. I'm trying to capture reject messages - where field 35=3D3. I've overriden the following methods yet none of them seem to capture messages where field 35=3D3. =09 onMessage(QuickFix42.OrderCancelReject message, SessionID session) onMessage(QuickFix42.Reject message, SessionID session) onMessage(QuickFix42.ExecutionReport message) =09 =09 Does anyone know which method needs to be implemented in order to capture messages where field 35=3D3? =09 Regards Kenny =09 =09 =09 =09 _____ =20 Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail. <http://us.rd.yahoo.com/mail_us/taglines/mailstorage/*http://mail.yahoo. com/> -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the = sender, delete it and do not read, act upon, print, disclose, copy, = retain or redistribute it. Click here for important additional terms = relating to this e-mail. http://www.ml.com/email_terms/ -------------------------------------------------------- |