Re: [Quickfix-users] questions about MySQLStore & MySQLLog
Brought to you by:
orenmnero
From: Oren M. <om...@ri...> - 2004-06-01 17:42:00
|
fromAdmin will give you the administrative messages such as the=20 Heartbeat. Breaking up the message into fields may be more work than you need to=20 do if you just plan on using a GUI to view the messages. Instead you=20 may consider sticking the raw string into the database like the message=20= store does. You can create this string by calling toString() on the=20 message, and reconstruct it from the database using fromString(). If=20 you plan on doing queries based on the contents of certain fields, then=20= you may want those field stored separately as well. --oren On Jun 1, 2004, at 12:37 PM, Jean Zhong wrote: > Thank you for the reply. > > I plan to implement a database GUI to observe the > messages much easiler. So, I wanna break down the > message into several interesting fields and save them > into a database. > > I also thought about to implement the database through > the callback functions in Application. I am just not > sure, which callback function can get heartbeat and > event messages. > > Thank you. > > Jean > > --- Oren Miller <om...@ri...> wrote: > > MessageLog does not store Message objects, and the > > Store only store > > messages being sent out, not ones coming in.=A0 Is > > there a reason you > > need to query for these messages instead of just > > storing the > > information you want as they come through the > > fromApp callback? > > > > On Jun 1, 2004, at 11:23 AM, Jean Zhong wrote: > > > > > Hi, Guys > > > > > > I am trying to build a database for the fix > > messages. > > > > > > I plan to decompose each fix message and save > > several > > >=A0 interesting fields into the table, so I am > > thinking if > > >=A0 there is a method to access the Message object > > from > > >=A0 MySQLLog and MySQLStore. > > > > > > I took a look on the MySQLLog class, MySQLStore > > class, > > >=A0 MessageStore class and LogFactory class, but I > > didn't > > >=A0 figure out how to get the instance of Message > > object > > >=A0 from these classes. > > > > > > Do you have any idea about this? > > > > > > Thanks a lot. > > > > > > Jean > > >=A0 =A0=A0 > > > > > > > > > > > > > > >=A0 =A0=A0=A0=A0=A0=A0=A0 > > >=A0 =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 > > >=A0 __________________________________ > > > Do you Yahoo!? > > >=A0 Friends.=A0 Fun.=A0 Try the all-new Yahoo! Messenger. > > >=A0 http://messenger.yahoo.com/ > > > > > > > > > > > > > > > ------------------------------------------------------- > > >=A0 This SF.Net email is sponsored by: Oracle 10g > > >=A0 Get certified on the hottest thing ever to hit > > the market... Oracle > > > 10g. > > > Take an Oracle 10g class now, and we'll give you > > the exam FREE. > > > > > > http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick > > > _______________________________________________ > > > Quickfix-users mailing list > > >=A0 Qui...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > > > > > =A0=A0=A0=A0=A0=A0=A0 > =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0 > __________________________________ > Do you Yahoo!? > Friends.=A0 Fun.=A0 Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ |