Re: [Quickfix-developers] Tradeclient and ODBC
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-09-14 17:05:59
|
The MessageStore keeps the minimal amount of information required to function. Only outgoing messages are required because they are the ones you will need to resend if requested. This file can also be reset at any time, so it is not intended as a record of transactions. You need to create a OdbcLogFactory in order to write to the to the log tables. This gets passed into the initiator as the last parameter (it is optional). I'm not sure about the values in the messages table, but I'm guess your query tool is actually truncating the real value due to the SOH. --oren > My question is twofold- First off, in the .body file, it's seems to be only=20 > saving the outgoing messages and none of the incoming ones. Is there=20 > additional config that needs to be done to save incoming messages? >=20 > Second involves using the ODBC to store things. It was compiled with ODBC=20 > support, some of tradeclient.cpp was altered. Currently the 'sessions'=20 > table is being written to, as is the table 'messages', although the=20 > 'message' column in the 'messages' table only has '8=3DFIX.4.2' for a value. =20 > None of the sent orders are showing up anywhere, nor are any reports from=20 > the server. > The tables 'event_log' and 'messages_log' never get written to. > What needs to be done to write to the two _log tables, log incoming=20 > messages, and log the entirety of the messages (not just the header)? |