-
We recently encountered a network outage, and after QFJ detected missing heartbeat it disconnected, and reconnected. incoming: Resend Request ResendRequest, BeginSeqNum=15703 My incoming messages are logged from This has lead me to the conclusion that QFJ, does not prevent the sending of messages while a resend is in progress. In my case the remote party does not cache the out of sequence messages, instead they issue a new resend request. I have not read the fix specification, so my question is.
Any info would be much appreciated. Sounds a bit like this question I found on Stack Overflow |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Correct, there is no reason to not send messages in that case. The relevant details are here: https://www.fixtrading.org/standards/fix-session-layer-online/#message-recovery e.g. in figure 13. Especially see here: https://www.fixtrading.org/standards/fix-session-layer-online/#fix-session-state-matrix points 11 and 12 where it is stated to queue messages when in resend processing. One thing to note, however, is that it is also recommended to wait a short time after the connection was established before transmitting new or queued messages.
This is no QFJ built-in behaviour but could be easily implemented in your application by sending a TestRequest with a specific ID (e.g. timestamp) and only start your message transmission after the corresponding Heartbeat reply has been received. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. In our case, the acceptor we are connecting to, does not queue out of sequence messages, so they will send a new ResendRequest. I don't know if TestRequest would work in our case, since it may also be considered out of sequence. |
Beta Was this translation helpful? Give feedback.
Correct, there is no reason to not send messages in that case.
As I commented on that StackOverflow question there does not seem a strict requirement to cache out-of-sequence messages, however it is recommended to cache messages.
The relevant details are here: https://www.fixtrading.org/standards/fix-session-layer-online/#message-recovery e.g. in figure 13.
Especially see here: https://www.fixtrading.org/standards/fix-session-layer-online/#fix-session-state-matrix points 11 and 12 where it is stated to queue messages when in resend processing.
One thing to note, however, …