-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QuickFIX/J removes queued FIX messages delivered during out of session time window instead of delivering afterwards #463
Comments
AFAIK the FIX spec does not tell anything about what happens when messages are sent to a session that is not in existence. The session comes into existence at |
@chrjohn I wonder if you would consider reviewing and merging a PR that would preserve unsent messaged over |
@fedor-prive , sorry for the late reply. |
Not sure how helpful this is, but it seems someone managed to work around this a few years ago. I haven't tested this, though, so I'm unsure if it's still a workaround. It isn't ideal either, since it involves changing the application behaviour in a way that users might not want. |
@ppmg , sorry but that SO question is not exactly this problem. There the problem was that the session was reset on every Logon ( Here (i.e. in this issue) the problem is that messages get lost that are sent between two session intervals (i.e. after But in the end both issues probably have the same solution. Edit: thinking further about it I am not sure if it is desired to have this functionality on a session that resets on Logon. IMHO it is a different use case than having a normal session with |
Describe the bug
I've described the problem here as I was not sure if it is a bug or a regular behavior: (https://stackoverflow.com/q/70953085/1043354)
To Reproduce
Set the StartTime and the EndTime of both initiator and acceptor to a same time period to have some session out window like 20 mins here.:
Then create a fix message for acceptor in a time range between 05:20:00 to 05:40:00. The acceptor doesn't send this message after the session out window ends and it is removed.
Expected behavior
None of the queued and not sent messages should be removed during session out window.
system information:
The text was updated successfully, but these errors were encountered: