|
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/ -------------------------------------------------------- |
|
From: Alvin W. <AW...@FF...> - 2006-11-13 16:29:16
|
I realized that in QF, there are incoming_log and outgoing_log table. But
in QF/J there is message_log table instead. Any particular reason for this
change? This complicates the migration from QF to QF/J since we want to
maintain/keep the old data.
Or does the latest version of QF also changed to use message_log table?
Thanks.
BTW, it is nicer to add time and direction in message table which can make
people life easier, I think.
Alvin Wang/FFTW
10/25/2006 10:29 To
AM qui...@li....n
et, st...@te...
cc
Subject
messages and messages_log table
(Document link: Alvin Wang)
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
*******************************************************************************
This e-mail message is intended solely for the use of the addressee.
The message may contain information that is privileged and
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.
*******************************************************************************
|
|
From: Steve B. <st...@te...> - 2006-11-14 12:51:08
|
Yes, QF also uses the messages_log table. I'll accept patches with unit tests if you'd like to extend the JdbcLog to optionally save the direction and timestamp. The default behavior should be the same as QF however. Steve > -----Original Message----- > From: Alvin Wang [mailto:AW...@FF...] > Sent: Monday, November 13, 2006 11:29 AM > To: qui...@li...; st...@te... > Subject: Re: messages and messages_log table > > I realized that in QF, there are incoming_log and outgoing_log table. But > in QF/J there is message_log table instead. Any particular reason for this > change? This complicates the migration from QF to QF/J since we want to > maintain/keep the old data. > > Or does the latest version of QF also changed to use message_log table? > > Thanks. > > > BTW, it is nicer to add time and direction in message table which can make > people life easier, I think. |
|
From: <AW...@FF...> - 2006-11-14 13:04:13
|
Oren, could you tell me since which version QF started using message_log ta= ble? Can you manually merge those 2 log tables into message_log? ----- Original Message ----- From: "Steve Bate" [st...@te...] Sent: 11/14/2006 07:50 AM To: <qui...@li...> Subject: Re: [Quickfixj-users] messages and messages_log table QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Yes, QF also uses the messages_log table. I'll accept patches with unit tests if you'd like to extend the JdbcLog to optionally save the direction and timestamp. The default behavior should be the same as QF however. Steve > -----Original Message----- > From: Alvin Wang [mailto:AW...@FF...] > Sent: Monday, November 13, 2006 11:29 AM > To: qui...@li...; st...@te... > Subject: Re: messages and messages_log table >=20 > I realized that in QF, there are incoming_log and outgoing_log table. But > in QF/J there is message_log table instead. Any particular reason for this > change? This complicates the migration from QF to QF/J since we want to > maintain/keep the old data. >=20 > Or does the latest version of QF also changed to use message_log table? >=20 > Thanks. >=20 >=20 > BTW, it is nicer to add time and direction in message table which can make > people life easier, I think. ------------------------------------------------------------------------- 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 easi= er 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=3D1= 21642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users ***********= ******************************************************************** 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. ***************************************************************************= **** |
|
From: <AW...@FF...> - 2006-11-14 13:08:10
|
BTW, can QFJ understand the conetents in quickfix database tables saved by = QF? What about the other way around? I heard that QFJ is not compatible wit= h QF in the FileStore And it will also be nice if message_log has direction Thanks ----- Original Message ----- From: "Steve Bate" [st...@te...] Sent: 11/14/2006 07:50 AM To: <qui...@li...> Subject: Re: [Quickfixj-users] messages and messages_log table QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Yes, QF also uses the messages_log table. I'll accept patches with unit tests if you'd like to extend the JdbcLog to optionally save the direction and timestamp. The default behavior should be the same as QF however. Steve > -----Original Message----- > From: Alvin Wang [mailto:AW...@FF...] > Sent: Monday, November 13, 2006 11:29 AM > To: qui...@li...; st...@te... > Subject: Re: messages and messages_log table >=20 > I realized that in QF, there are incoming_log and outgoing_log table. But > in QF/J there is message_log table instead. Any particular reason for this > change? This complicates the migration from QF to QF/J since we want to > maintain/keep the old data. >=20 > Or does the latest version of QF also changed to use message_log table? >=20 > Thanks. >=20 >=20 > BTW, it is nicer to add time and direction in message table which can make > people life easier, I think. ------------------------------------------------------------------------- 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 easi= er 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=3D1= 21642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users ***********= ******************************************************************** 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. ***************************************************************************= **** |
|
From: Alvin W. <AW...@FF...> - 2006-10-25 14:58:15
|
Toby, thanks.
I feel if there is an inbound/outbound tag in messages_log table, those 2
tables can be merged. Now it seems half of the data are duplicated. Do I
miss anything?
thanks..
"Shepheard, Toby
(London)"
<Toby_Shepheard@m To
l.com> <qui...@li....
Sent by: net>
quickfixj-users-b cc
ou...@li...
ceforge.net Subject
Re: [Quickfixj-users] messages and
messages_log table
10/25/2006 10:54
AM
Please respond to
quickfixj-users@l
ists.sourceforge.
net
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
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.
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
************************************************************************
*******
This e-mail message is intended solely for the use of the addressee.
The message may contain information that is privileged and
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=lnk&kid=120709&bid=263057&dat=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/
--------------------------------------------------------
-------------------------------------------------------------------------
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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
|
|
From: Oren M. <or...@qu...> - 2006-10-25 15:23:10
|
Alvin, The messages table needs to be able to be reset. When a new session is created, all the messages must be destroyed as they are not longer relevant to the session. Further more a session can be reset during the day or altered in other ways. This is not a trait that is desirable in logging, which must persist indefinitely until you would specifically like to purge it. The log is a record of everything that happened regardless of the state of the engine. Furthermore, it is often desirable to use one storage medium for managing state, and a separate one for logging. --oren On Oct 25, 2006, at 9:58 AM, Alvin Wang wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Toby, thanks. > > I feel if there is an inbound/outbound tag in messages_log table, > those 2 > tables can be merged. Now it seems half of the data are duplicated. > Do I > miss anything? > > thanks.. |
|
From: Nick F. <ni...@ox...> - 2006-10-30 14:09:21
|
I'm testing quickfix/j using lost connections and there seems to be a message that never reaches my Application. I wonder if this is a quickfix problem. I've censored the id's below to "ME" and "BROKER", these aren't the originals. The sequence: 8=FIX.4.29=9435=A34=16949=ME52=20061030-12:41:55.71756=BROKER98=0108=3010=01 0 8=FIX.4.29=9035=A49=BROKER56=ME34=29252=20061030-12:42:03108=3098=010=048 8=FIX.4.29=9135=249=BROKER56=ME34=29352=20061030-12:42:037=16616=16810=096 8=FIX.4.29=9335=234=17049=ME52=20061030-12:42:04.70256=BROKER7=28916=010=187 8=FIX.4.29=9035=h49=BROKER56=ME34=29452=20061030-12:42:03336=0340=210=081 8=FIX.4.29=22135=D34=16643=Y49=ME52=20061030-12:42:04.71756=BROKER122=200610 30-12:40:4511=20061030-124045-279-4:115=GBP21=138=600000040=F44=1.554=255=GB P/USD59=060=20061030-12:40:45167=FOR10=235 8=FIX.4.29=12235=434=16743=Y49=ME52=20061030-12:42:04.71756=BROKER122=200610 30-12:42:0436=169123=Y10=164 8=FIX.4.29=9635=449=BROKER56=ME34=28952=20061030-12:42:0443=Y123=Y36=29510=1 37 8=FIX.4.29=13335=j49=BROKER56=ME34=29552=20061030-12:42:0445=166372=D380=058 =Do not support duplicate message10=201 Messages 169,292: I logon after a lost connection and I get a logon response, neither of us resets. Message 293: The broker requests a resend of messages 166-168 Message 170: I request a resend of all messages after 289 Message 294: I receive a TradingSessionStatus message telling me the session is open. THIS MESSAGE NEVER REACHES MY APPLICATION Message 166: I send message 166 (an order) to the broker. I'm not sure if this is resend, or a left over message from before the connection dropped. Message 167: I send a sequence reset to the broker asking to reset to 169, with Gap Fill set. This I assume is to replace the requested resend Message 289: The broker sends a sequence reset to me asking to reset to 295, with Gap Fill set, again to avoid a resend. Message 295: The broker rejects the resent order. I hate asking someone else to do my debugging, but I was hoping using quickfixj would avoid me getting too deep in understanding the whole reconnection protocol. Does anyone know why message 294, the trading session status message never reaches my application through the fromApp() method? Nick |