<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 23, 2017 at 1:45 PM, Kunal CHANGELA <span dir="ltr"><<a href="mailto:kunal.changela@us.bnpparibas.com" target="_blank">kunal.changela@us.bnpparibas.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-9186515825288597407WordSection1">
<p class="MsoNormal">I am trying to find the best way to re-request all the messages for the day.<br></p></div></div></blockquote><div><br></div><div>If you want to re-request them at the SESSION level, and the session's seqnums reset daily, reset your next expected target seqnum to 1.  Do this while your app is not running.  E.g. if you are using the FileStore, you do this in the .seqnums file.  If you are using a database store, then you do this by fiddling with the database.  When you restart your app, the built-in ResendRequest behavior will kick in and cause all msgs from seqnum 1 onward to be re-requested.</div><div><br></div><div>If you want to re-request them at the APPLICATION level, and the application level supports this, then do that instead.  TCRs are a good example... you can typically specify criteria for which reports you want, e.g. by date.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-9186515825288597407WordSection1"><p class="MsoNormal"></p><p class="MsoNormal"><u></u></p>
<p class="MsoNormal">I have seen on some forums that you could set: ResetSeqNum=Y in the config file? </p></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-9186515825288597407WordSection1"><p class="MsoNormal">Is this a good way to achieve this?</p></div></div></blockquote><div><br></div><div>If you are going to use the SESSION level to re-request msgs, don't use this, or any other SessionSetting that starts with "Reset" -- it will do the exact opposite of what you seem to be trying to do.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-9186515825288597407WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">Or should I try a resend request specifying seq nums I want to start and end?</p></div></div></blockquote><div><br></div><div>No, never send a ResendRequest or any other session-level (admin) message yourself.  QuickFIX handles all of this for you.  If you want to trigger this behavior, manipulate the seqnums as described above -- the method above works with QuickFIX's (and FIX protocol's) built-in recovery mechanism.</div><div><br></div><div>--</div><div>Mike Gatny</div><div>Connamara Systems, LLC</div><div><br></div></div></div></div>