From: Shepheard, T. \(London\) <Tob...@ml...> - 2006-05-26 13:59:55
|
Sadly not... I've got defaults set explicitly in the config. I tried bumping up the logout from 3 to 10, but it has no effect on the timing of the TCP disconnect (its not getting as far as tryign to send any FIX logout message).=20 =20 As far as I can see its doing something as follows: =20 Timer triggers in SessionConnector, calls session.next() checkSessionTime() returns false, calls session.reset() -> session.disconnect() disconnect() calls responder.disconnect(), closes TCP session =20 I think session.next() perhaps needs changing when checkSessionTime is false to generate a logout message rather than calling reset(), unless there's another timer somewhere meant to do that which might have missed. -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Steve Bate Sent: 26 May 2006 13:57 To: qui...@li... Subject: RE: [Quickfix-developers] QFJ: Session EndTime and Logout =09 =09 Toby, =20 This might be related to a bug that was fixed this morning in Subversion. The logon and logout timeout defaults were zero. They should have been 10 seconds for the logon timeout and 2 seconds for the logout timeout. These are configurable, so the workaround for now is to set the timeouts explicitly in the configuration file. =20 Steve _____ =20 From: qui...@li... [mailto:qui...@li...] On Behalf Of Shepheard, Toby (London) Sent: Friday, May 26, 2006 2:00 PM To: qui...@li... Subject: [Quickfix-developers] QFJ: Session EndTime and Logout =09 =09 Hiya,=20 A quick question on the Session EndTime. I'd assumed that when running as an Initiator, QFJ would send a Logout message (and await a Logout response for LogoutTimeout seconds) when the EndTime is reached, but when I tested it, it just does a TCP FIN (disconnect). Is this expected behaviour or a bug? I'm running with a ThreadedSocketInitiator, QFJ 1.0.0.=20 [2006-05-26 12:24:23,126][INFO ][QFJ Timer reuters.protocol.ReutersQFApplication]: Sending FIX heartbeat message FIX.4.4:ML_RTFI_DEV1->REUTFIXTEST1 [2006-05-26 12:24:23,126][INFO ][QFJ Timer quickfixj.msg.outgoing]: 8=3DFIX.4.4=019=3D68=0135=3D0=0134=3D15=0149=3DML_RTFI_DEV1=0152=3D200605= 26-11:24:23.126=0156=3DRE UTFIXTEST1=0110=3D062=01 [2006-05-26 12:24:44,083][INFO ][AnonymousIoService-1-2 quickfixj.msg.incoming]: 8=3DFIX.4.4=019=3D68=0135=3D0=0134=3D17=0149=3DREUTFIXTEST1=0152=3D200605= 26-11:24:06.324=0156=3DML _RTFI_DEV1=0110=3D065=01 [2006-05-26 12:24:44,083][DEBUG][QF/J Session dispatcher: FIX.4.4:ML_RTFI_DEV1->REUTFIXTEST1 reuters.protocol.ReutersQFApplication]: QuickFIX session FIX.4.4:ML_RTFI_DEV1->REUTFIXTEST1: fromAdmin() [2006-05-26 12:24:44,083][INFO ][QF/J Session dispatcher: FIX.4.4:ML_RTFI_DEV1->REUTFIXTEST1 reuters.protocol.ReutersQFApplication]: Received FIX heartbeat message FIX.4.4:ML_RTFI_DEV1->REUTFIXTEST1 [2006-05-26 12:24:53,146][INFO ][QFJ Timer reuters.protocol.ReutersQFApplication]: Sending FIX heartbeat message FIX.4.4:ML_RTFI_DEV1->REUTFIXTEST1 [2006-05-26 12:24:53,146][INFO ][QFJ Timer quickfixj.msg.outgoing]: 8=3DFIX.4.4=019=3D68=0135=3D0=0134=3D16=0149=3DML_RTFI_DEV1=0152=3D200605= 26-11:24:53.146=0156=3DRE UTFIXTEST1=0110=3D068=01 [2006-05-26 12:25:02,830][INFO ][QFJ Timer quickfixj.event]: Disconnecting=20 [2006-05-26 12:25:02,830][INFO ][QFJ Timer reuters.protocol.ReutersQFApplication]: Logged out from the FIX engine for session FIX.4.4:ML_RTFI_DEV1->REUTFIXTEST1 [2006-05-26 12:25:02,830][INFO ][QFJ Timer protocol.session.ReutersSession]: Logged out from FIX session, setting AQ Session status to DISCONNECTED Regards,=20 Toby=20 _____ =20 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 <http://www.ml.com/email_terms/> for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ _____ =20 |