[QFJ-920] LogOff FIX Message(35=5) is not send by initiator on stop Created: 04/Apr/17  Updated: 04/Apr/17  Resolved: 04/Apr/17

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.6.3
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: hemant Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: QuickfixJ

Issue Links:
Duplicate
duplicates QFJ-885 SocketInitiator::stop() can't send ou... Closed

 Description   

Hello,

Whenever we stop the FIX initiator LogOff FIX message was not sent. It was working fine in previous versions as
In previous version(1.6.1)

public void stop(boolean forceDisconnect) {
logoutAllSessions(forceDisconnect); -> Logout session
stopSessionTimer(); ->Stop timer
....

In version 1.6.3.
public void stop(boolean forceDisconnect) {
+ stopInitiators(); -> which eventually invokes stopSessionTimer();
logoutAllSessions(forceDisconnect); -> As we stop the timer so Session.next() never get invoke and results that we did not send LogOut Fix Message(35=5)


Generated at Sat Nov 23 11:10:29 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.