[QFJ-885] SocketInitiator::stop() can't send out the logout message Created: 07/Apr/16  Updated: 27/Jul/17  Resolved: 12/Apr/17

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.6.2
Fix Version/s: 1.6.4

Type: Bug Priority: Major
Reporter: Shen liang Assignee: Christoph John
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by QFJ-920 LogOff FIX Message(35=5) is not send ... Closed

 Description   

stop() function will invoke the stop(false) to stop the connection.
In the code, the END_OF_STREAM will be put into the message queue first. So the session will believe the connection is broken. Then the intent "session.logout()" in the logoutAllSessions() will be able to get chance to executed since the session state will be not logon for that END_OF_STREAM message.

eventHandlingStrategy.stopHandlingMessages();
logoutAllSessions(forceDisconnect);
stopInitiators();


Generated at Sat Nov 23 07:53:26 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.