|
From: Shepheard, T. \(London\) <Tob...@ml...> - 2006-10-25 14:54:40
|
The messages table is used by the message store, and it stores all messages which are sent by you, in such a way that they can be resent if required. It only stores outbound messags, because there's never any need to replay inbound messages. The messages_log table is one way in which you can log all inbound and outbound messages for diagnosing problems or simply checking that everything is as expected. You could equally use a different logging adapter and log to a file or logging service. These logs are not replayable and are only for informational purposes.=20 Not sure how you tell if messages are inbound or outbound as don't use the DB for logging. In my log4j text files it's readily apparent by logging the class along with the message "quickfixj.msg.outgoing" vs "quickfixj.msg.incoming" but I can see you may well not get this in the DB logging. You can always tell by checking the Source and Target CompIDs in the quickfix message itself, though that's not very convenient. Hopefully there's a better way. -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Alvin Wang Sent: 25 October 2006 15:30 To: qui...@li...; st...@te... Subject: [Quickfixj-users] messages and messages_log table QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Hi, where is the difference between messages and messages_log table? It seems messages table only record the outgoing msgs. Why do we need 2 tables? Also in messages_log table, how to easily tell if a message is outgoing or incoming message? Thanks, Alvin =20 ************************************************************************ ******* This e-mail message is intended solely for the use of the addressee. The message may contain information that is privileged and=20 confidential. Disclosure to anyone other than the intended recipient is prohibited. If you are not the intended recipient, please do not disseminate, distribute or copy this communication, by e-mail or otherwise. Instead, please notify us immediately by return e-mail(including the original message with your reply) and then delete and discard all copies of the message. We have taken precautions to minimize the risk of transmitting software viruses but nevertheless advise you to carry out your own virus checks on any attachment to this message. We accept no liability for any loss or damage caused by software viruses. ************************************************************************ ******* ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the = sender, delete it and do not read, act upon, print, disclose, copy, = retain or redistribute it. Click here for important additional terms = relating to this e-mail. http://www.ml.com/email_terms/ -------------------------------------------------------- |