|
From: Naresh B. <NB...@sa...> - 2007-04-27 17:31:56
|
I need some advice from this group about dynamic (vs. compile-time) = message handling. I am in a situation where we are building a system = that will talk to approximately 300 brokers. The brokers support varying = levels of FIX and many of them have defined custom fields and groups. = Supporting all these variations in code with type-safe APIs is going to = be a nightmare, so I am willing to sacrifice compile-time safety in = favor of dynamic message handling. I have started externalizing all = message configuration in data dictionaries - one per broker (of course, = these are based on one of 5 FIX4x.xml files provided with quickfix). = Does this approach make sense? =20 So far I am doing pretty ok with message creation as well as parsing = using the data dictionary, except with repeating groups. My hope was = that I could create a Group definition right from the data dictionary, = but the best it can do right now is to give me GroupInfo, thus loosing = the field order. Am I missing something? =20 I also checked out the MessageFactory api, but as I understand it, it = returns one of the generated Message or Group classes and does not use = the data dictionary. Please correct me if I am wrong. =20 Thanks for your help. =20 Naresh |