RE: [Quickfix-users] custom messages/ message wrappers
Brought to you by:
orenmnero
From: <or...@qu...> - 2004-05-06 19:44:07
|
Wow. That's some requirement! Do they have the ability to talk to any off the shelf FIX engines? Doesn't sound likely. The custom logon is easy, you can add on any fields to the outgoing logon in the toAdmin callback. Just add whatever custom fields you need with setField. If they are sending you custom fields, just add them to the DataDictionary and you should have no problem pulling them out with getField. Now the <tag></tag> thing is weird! You certainly could hack around the code to try to support this strange behavior, but what I would probably do instead is to write a small proxy to handle this. Essentially just write a little server that will take a proper FIX message on one end, and add the <tag></tag> before sending to the counterparty, and strip them out of messages you receive before sending to your application. Another advantage of having a proxy is that you could always swap in a new FIX engine if you ever wanted to switch. > -------- Original Message -------- > Subject: [Quickfix-users] custom messages/ message wrappers > From: "Blain Sadler" <bla...@tr...> > Date: Thu, May 06, 2004 11:37 am > To: qui...@li... > > Hi all, > > I am looking at integrating QuickFix as a part of a client application > > communicating with a proprietary client side fix engine. The main > problem that I am encountering is that this particular engine needs a > custom logon message, and for all messages to be wrapped in <tag></tag> > > with the raw fix message encompassed within. > > Being unfamiliar with the quickfix c++ codebase,My questions to the > list > are these: > 1) Where in the code would I go about tacking on and removing the > <tag></tag> pairs for incoming and outgoing messages? > 2) How should I go about dealing with the custom logon and logon > response messages, subclass FIXxx::Logon? Plug it into the socket's > receiving code? > > My thanks in advance for any help > > -B > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users |