Re: [Quickfix-developers] Waiting for automatic ResendRequest to finish?
Brought to you by:
orenmnero
|
From: Joerg T. <Joe...@ma...> - 2006-02-20 16:05:15
|
Edde wrote:
> [...]
> So, for each message I receive between 56802 and 66426 QuickFIX
> automatically sends a new ResendRequest demanding all messages in the
> session. Obviously this is not good behaviour and I could work around t=
his
> if there is a way to know when the first ResendRequest has received all=
the
> messages it's expecting.
Hmmm, this reminds me of a behaviour fixed in 1.10.2: This version explic=
itely avoids=20
sending duplicate ResendRequest(N:Infinity) and logs the message "Already=
sent=20
ResendRequest. Not sending another". Maybe a newer version will improve t=
he situation.
While I understand Dales argument, not to abuse the session level for app=
lication level=20
recovery, this scenario could make sense in a fail-over situation.
BTW, a TestRequest with a unique has to be answered by a Heartbeat with t=
his unique id.
If you get this specific heartbeat, you know that the other side must hav=
e processed all=20
messages preceding this TestRequest. Of course, this does not prevent fur=
ther resend=20
processing at any later point of time.
Cheers, J=F6rg
--=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
|