[QFJ-427] ForceResync option per session Created: 06/Apr/09  Updated: 15/Nov/12  Resolved: 25/Jan/10

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.4.0
Fix Version/s: 1.5.0

Type: New Feature Priority: Default
Reporter: Paul-Henri Giraud Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None


 Description   

Add a ForceResync option Y/N per session to help application developers work with servers UAT withtou the need of a perfect synchronization in the sequenceing.

This option will be used:

  • when the server rejects a logon with a logout and error message such as "expected iii but received jjj"; automatically re-sync using iii from the error message.
  • when target is too low, force the current sequence value using the target message value
  • when the target is too high and the gap is greater than a constant threshold, skip the resend process and directly resync the values

Each force-resync operation should output a warning in the logs



 Comments   
Comment by Steve Bate [ 25/Jan/10 ]

SVN #928

Comment by Steve Bate [ 22/Apr/11 ]

The documentation for this option was added to the web site directly but not updated in the configuration.html file in SVN. I believe the plan is to remove this option in the next version of QFJ so maybe it's ok that it was never included in the release documentation. It would be a good idea to resync the web site with the documentation in SVN after including any other changes made directly to the web site documents.

There was a related question on the QuickFIX (C++) mailing list:

Date: Fri, 15 Apr 2011 10:44:23 -0400
From: "Li, Wei-Jen [Tech]" <[email protected]>
Subject: [Quickfix-users]  QuickFIX/J ForceResync flag
To: "'[email protected]'"
       <[email protected]>

Hello,

A few questions about the SeqNum resync issue.
The quickfixj document says when SeqNum mismatch happens, we can use ForceResync=Y to reset the number by reading "expecting xxx" in the error message.
Can I assume I always see that string in error message?
Does this only resync the incoming sequence number? What happens to the outgoing number?
And, does it matter the other side uses different FIX engine?

Thanks,
Wei-Jen
Generated at Mon May 20 07:14:45 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.