Re: [Quickfix-developers] ODBC LOG and STORE - QuickFix 1.13.2
Brought to you by:
orenmnero
From: <AS...@bo...> - 2010-03-25 15:10:59
|
Hi All, - I was using QuickFix 1.12.4 and the ODBC Log and Store to connect and write messages in a MS SQL Server Database after some trouble with the connectring I could connect ( I finally use connect string : OdbcStoreConnectionString=Dsn=QuickFix;DATABASE=quickfix; ) - I want to use last QuickFix Version : 1.13.2 : but cannot connect to the same database ! My C++ project fail in : OdbcLog.h OdbcLog::OdbcLog ( const std::string& user, const std::string& password, const std::string& connectionString ) : m_pSessionID( 0 ) { init(); m_pConnection = new OdbcConnection( user, password, connectionString ); ==> Access Violation } (Embedded image moved to file: pic26500.jpg) Is there a pb or any changes with ODBC in QuickFix 1.13.2 ? Can someone give me an advice !!! please. Alain SY Bourse Direct Service Informatique - Developpement Tel : (00-33-0) 1-56-43-82-34 oren@quickfixengi ne.org A 19/02/2010 20:05 AS...@bo... cc qui...@li...urcefor ge.net Objet Re: [Quickfix-developers] Logging Incoming Messages in Database ODBC QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html You are probably using the OdbcMessageStore. A MessageStore is required for QuickFIX, and is not there for logging. It is there to keep messages in case they ever need to be reset. It is not good for logging because as you have noticed, only outgoing messages ever need to be resent, hence no incoming messages. Also, it is volatile. If you decide to reset the session, those messages will be blown away. Instead, you should lookg at the OdbcLog/OdbcLogFactory. This is an optional object which can be passed to the initiator/acceptor. This OdbcLog will do true logging for all messages into the messages_log table. These messages are also persisted indefinitely. --oren > -------- Original Message -------- > Subject: [Quickfix-developers] Logging Incoming Messages in Database > ODBC > From: AS...@bo... > Date: Fri, February 19, 2010 5:17 am > To: qui...@li... > > > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi, > > In our company we are using QuickFix Engine, and configure It to log > messages in database. > We use an ODBC connector , that connect to a Sql Serveur 2005 Database. > > The engine writes session data and outgoing messages in the database > "QuickFix" , table "messages" > but the Incomming messages are not logged in this table. > => How to do, to have also incomming messages ? > > - is this feature implemented or a configuration problem from our cfg file > ? > > thanks for your help. > > Alain SY > Bourse Direct > Service Informatique - Developpement > Tel : (00-33-0) 1-56-43-82-34 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |