|
From: Toli K. <to...@ma...> - 2007-08-10 22:42:36
|
Danilo, I think that'd be a good idea to propagate the entire Message to the onOutgoing call to allow for more efficient storage. Perhaps you should create an RFE in QFJ and maybe if enough people believe it'd be beneficial to update the API we could do that. On 8/10/07, Danilo Tuler <tu...@po...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > I need to store messages in a database. > > But in order to speed messages lookup I thought about storing > > some key field in individual columns, like Account, Symbol, > > ClOrdID, or whatever. > > I said store, but I wanted to say log. > But the same problem aplies. > The Log interface expects a String. > > It would be easy to change onOutgoing to handle a quickfix.Message. > Not so easy to change onIncoming, because the parsing is made in a later > step, and it can fail. > > -- Danilo > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |