[QFJ-657] TestRequest should be sent before a Logout is sent. (Initiator) Created: 05/Dec/11  Updated: 06/Dec/11

Status: Open
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.5.0, 1.5.1
Fix Version/s: None

Type: Improvement Priority: Default
Reporter: Ken Douglas Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Logout, testRequest
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



 Comments   
Comment by Christoph John [ 06/Dec/11 ]

I think this would be a good improvement. BTW, the link to the forum thread is wrong. It leads to a discussion about log rotation.

Generated at Sun Apr 28 20:09:21 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.