|
From: Colin C. <col...@he...> - 2007-07-05 17:03:39
|
I've replaced the quickfix code generator with an Apache Velocity one (I prefer templates to xsl fun) and used it to generate a completely custom set of messages inheriting from the base quickfix ones that I used with Mina and a custom (code generated) codec. It does not use a fix session, its just a custom codec but it parses fine as it does not use session tags. Its in production and works well. Its removed ikky java serialisation to make it cross platform from a project that needed to stream timeseries data over TCP and I'm no fan of creating a new payload encoding as life is too short. If anyone is interested I can add to the todo list to share... Colin. http://hermesjms.com _____ From: qui...@li... [mailto:qui...@li...] On Behalf Of Steve Bate Sent: 04 July 2007 15:12 To: qui...@li... Subject: Re: [Quickfixj-users] procedure for separating custom messages Hi Lev, I've put together a short tutorial/example for generating messages into custom packages and using a custom message JAR. It's on the wiki at. http://www.quickfixj.org/confluence/x/iAI There is also example code attached to the article. I wrote the article quickly so feel free to fix any typos or incorrect information. :-) Regards, Steve _____ From: qui...@li... [mailto:qui...@li...] On Behalf Of Lev Grevnin Sent: Wednesday, July 04, 2007 3:17 AM To: qui...@li... Cc: Andrey Tapekha Subject: [Quickfixj-users] procedure for separating custom messages Hi all. First off, to those of you who helped release 1.2.1 THANKS for your hard work. Now, are there any docs which specify how to separate the custom messages from the core quickfixj and it's core messages? I mean, there are some instructions, like: set the ant proprties "specification", "messagePackage", "fieldPackage". But what is the actual format of the CUSTOM_FIX.xml file? What I did was I setup the 3 ant properties above, created my CUSTOM_FIX.xml with additional messages (trying to follow the format of the main xml spec files, like FIX44.xml) and tried to generate java classes. I couldn't manage to get the custom file to get picked up for some reason, so no custom message packages were generated. Am I missing something? Where can I find more detailed instructions on how to add custom messages, while keeping the rest of quickfix (along with it's FIX4.* messages) intact? Thanks much!! Lev Grevnin Rates IT work: 7 495 644 3191, mobile: 7 917 504 3004 --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. |