[QFJ-692] QuickfixJ Session not disconnecting when Network unavailable/unplugged Created: 22/Jul/12 Updated: 25/Jul/12 Resolved: 25/Jul/12 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Networking |
Affects Version/s: | 1.5.0, 1.5.2 |
Fix Version/s: | None |
Type: | Bug | Priority: | Critical |
Reporter: | Saneesh Kumar | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None |
Issue Links: |
|
Description |
QuickfixJ session never disconnects or throws any exception when there is a network related issue (network unavailable/unplugged) is there any kind of time out which can be defined after which could be used to make out a network issue? Is there any solution to handle the above problem? |
Comments |
Comment by Saneesh Kumar [ 23/Jul/12 ] |
I was trying to use the SessionStateListener, but the onMissedHeartBeat() or onHeartBeatTimeout() are not called even though I tried unplugging the network cable. |
Comment by Jörg Thönnes [ 25/Jul/12 ] |
Please provide more details about your environment and test setup. Basically, this should work. |