Re: [Quickfix-developers] resend request
Brought to you by:
orenmnero
|
From: Caleb E. <cal...@gm...> - 2007-08-14 16:05:57
|
On 8/13/07, Naveed <na...@nc...> wrote: > > I want to say that can I send a Resend Request MANUALLY TO A SESSION (My > Client) I believe you can simply call the Session's setNextTargetMsgSeqNum method to the start of the range you want resent (call this X). This must be less than or equal to the target's current sequence number (call this Y). This should cause QuickFIX to generate a ResendRequest the next time the client sends you a message (e.g. you'll get Y+1 and ask for a resend from X-Y). You could send a Heartbeat or TestRequest to ensure this happens without any appreciable delay. Note that you will need to be careful when processing the results of the resend request. You may have processed one or all of these messages previously (QuickFIX certainly thinks you did). -- Caleb Epstein |