Details
-
Type: Improvement
-
Status: Open
-
Priority: Default
-
Resolution: Unresolved
-
Affects Version/s: 1.5.0, 1.5.1
-
Fix Version/s: None
-
Component/s: Engine
-
Labels:
-
Environment:Windows 7 Ultimate, Java 6 u29
QuickFix J 1.5.1
Description
TestRequest should be sent before a Logout is sent (Initiator).
You may not agree this is a bug by the way but perhaps a feature not currently supported but the FIX Protocol recommends the following:-
[1] a TestRequest is sent and a hearbeat is expected to be sent in return
[2] NB No logout is sent until a heartbeat (with the TestRequest ID) is received.
[3] Once receive a logout is sent and waitfor Logout is carried out.
[4] then disconnect is done.
I have seen a question relating to this on the forum but this goes way back
http://quickfix-j.364392.n2.nabble.com/Log-file-rotation-td665743.html
Currently the way the reset() on the Session is done it does not allow you to fire a TestRequest off and wait for the hearbeat.
Any idea guys?
Thanks