Re: [Quickfix-developers] Messages Prior to Logon
Brought to you by:
orenmnero
|
From: Joerg T. <Joe...@ma...> - 2006-03-31 09:05:25
|
Hi Belinda,
> Sorry, I should've clarified this, it is our system that is creating th=
e messages
> before the logon. Here is a log from this morning, the StartTime was se=
t to 9.45 and a
> message was sent to the system earlier using Session.sendToTarget(..)
Even if you use sendTarget() before the session is logged on, QF/J would =
send the Logon=20
message first. This is what you can see in the log: I can only see the Lo=
gon sent out, not=20
any other message from your application.
> 09:45:00,621 INFO [InitiatorProtocolHandler] MINA session created: /19=
2.168.17.
> 64:3422
> 09:45:00,952 INFO [event] FIX.4.4:CL1_FIX44->ASX: Disconnecting
> 09:45:31,090 INFO [InitiatorProtocolHandler] MINA session created: /19=
2.168.17.
> 64:3425
> 09:45:31,972 INFO [outgoing] FIX.4.4:CL1_FIX44->ASX: 8=3DFIX.4.4=E2=98=
=BA9=3D75=E2=98=BA35=3DA=E2=98=BA34=3D1=E2=98=BA4
> 9=3DCL1_FIX44=E2=98=BA52=3D20060330-23:45:31.972=E2=98=BA56=3DASX=E2=98=
=BA98=3D0=E2=98=BA108=3D600=E2=98=BA7953=3DY=E2=98=BA10=3D000=E2=98=BA
> 09:45:31,982 INFO [event] FIX.4.4:CL1_FIX44->ASX: Initiated logon requ=
est
> 09:45:32,683 INFO [incoming] FIX.4.4:CL1_FIX44->ASX: 8=3DFIX.4.4=E2=98=
=BA9=3D106=E2=98=BA35=3D5=E2=98=BA49=3DAS
> X=E2=98=BA56=3DCL1_FIX44=E2=98=BA34=3D3=E2=98=BA52=3D20060330-23:53:52=E2=
=98=BA58=3DMsgSeqNum too low, expecting 3 but r
> eceived 1 Logon=E2=98=BA10=3D079=E2=98=BA
> 09:45:32,683 INFO [event] FIX.4.4:CL1_FIX44->ASX: Disconnecting
For some reason, ASX expects 3 at the next incoming sequence number, whil=
e you are=20
starting with 1.
QF/J automatically resets the sequence numbers to 1 after the EndTime. If=
ASX does not=20
reset its session before the QF/J session tries to logon (ie after StartT=
ime next day),=20
the ASX is still at a higher sequence number (as 3 in this case), but QF/=
J tries to=20
connect with 1. While FIX specs requires to disconnect you in that case, =
ASX is polite=20
enough to explain the situation to you before sending Logout.
Please check whether the session times of your client match with ASX and =
take into account=20
that FIX uses UTC.
Cheers, J=C3=B6rg
--=20
Joerg Thoennes
http://macd.com
Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH
Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen
|