Re: [Quickfix-developers] Custom Fields
Brought to you by:
orenmnero
From: Mikhail V. <mve...@gm...> - 2008-01-30 10:06:02
|
Thank you Brian, QuickFix was rejecting messages due to the use of the custom Field but I = was looking to avoid hacking QF (as easy as it looks and sounds). I = will try the XML, but I think I will try to use the ValidateCustomFields = =3D N (don't shoot if the name of the parameter is wrong it's from = memory) in the configuration first. Regards, Mikhail ----- Original Message -----=20 From: Brian Erst=20 To: Mikhail Veygman ; qui...@li...=20 Sent: Tuesday, January 29, 2008 10:49 AM Subject: Re: [Quickfix-developers] Custom Fields It depends on what you mean by "recognize".=20 If you simply mean that you want QF to allow that field on an inbound = message, it should work just fine as is - you just need to access the = field via message.getField() instead of message.get(). If QF is = rejecting the message due to your custom field (that shouldn't happen), = you should be able to modify the appropriate XML file (FIX4n.XML, where = "n" is 0-4). If you want full-blown support for your custom field (the field exists = in the QuickFix namespace and is an integral part of your classes), then = you need to create a custom version of QuickFIX, which is not nearly as = hard as it sounds. I even wrote a document describing how it's done: = http://www.nabble.com/Custom-Messages-Classes-Tutorial-p13495584.html Oren at one point indicated that he would put that document up on the = website, but I don't think he's gotten around to it yet. Hope this helps. - Brian Erst Thynk Software, Inc. ----- Original Message ---- From: Mikhail Veygman <mve...@gm...> To: qui...@li... Sent: Tuesday, January 29, 2008 4:04:59 AM Subject: [Quickfix-developers] Custom Fields QuickFIX Documentation: = http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html All, When defining custom user fields: USER_DEFINE_STRING(CUSTOM, 9980); Is there any way to make the library recognize this field when it is = being received outside of hacking the Header Files? Regards, Mikhail -----Inline Attachment Follows----- = -------------------------------------------------------------------------= This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -----Inline Attachment Follows----- _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |