<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">The recommended course of action is to:</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">1) Stop your application</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">2) modify your <session>.seqnum file -- it should look like this:</div><div class="gmail_default" style="font-size:small;color:#000000">    <font face="monospace, monospace" style="background-color:rgb(204,204,204)">0000002453 : 0000003877</font></div><div class="gmail_default" style="font-size:small;color:#000000">where the first number is the seqnum of the next outgoing message, and the second number is the <b>expected</b> seqnum of the next incoming message.</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">3) Restart your application.</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">To force your counterparty to resend past messages <b>(if your counterparty supports that)</b>, then set the second number to the seqnum of the first old message you want to receive.  After login, your app will see the mismatch on the first received sequence number and send a ResendRequest message.  <i>(Messages received as a result of a ResendRequest will have 43=Y (PossDupFlag).  Admin messages will be replaced with 35=4 messages that have 123=Y.)</i><br></div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">-Grant</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 12:36 PM, Mike Gatny <span dir="ltr"><<a href="mailto:mgatny@connamara.com" target="_blank">mgatny@connamara.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You cannot change the MsgSeqNum field.  If you think you need to, you are doing something else wrong.  What problem are you actually trying to solve?</div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><font face="arial, helvetica, sans-serif">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny<br>Connamara Systems, LLC</font></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Tue, Sep 29, 2015 at 1:00 PM, xmoon 2000 <span dir="ltr"><<a href="mailto:xmoon2000@googlemail.com" target="_blank">xmoon2000@googlemail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Help!<br><br></div>I amn trying to      <br>        <br><br>        public void ToAdmin(QuickFix.Message message, SessionID sessionID)<br>        {    <br>                if ((message.ToString().IndexOf("35=A") > 0))<br>                {<br><br>                    message.SetField(new ResetSeqNumFlag(false));<br><br>                    message.SetField(new MsgSeqNum(2864));<br><br>                }<br><br>}<br><br><br></div>But QuickFix's own tag 34 REMAINS in the message - how can I change it please?<br></div>
<br></div></div>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><font size="2"><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font size="2"><font color="#3333ff"><br></font></font></div><div><font size="2"><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br></div><div><font size="2"><b>Made-To-Measure Trading Solutions.</b></font></div><div><font size="2">Exactly what you need. No more. No less.</font><font size="2"><b><font color="#3333ff"><br></font></b></font></div><div><font size="2"><a href="http://connamara.com" target="_blank">http://connamara.com</a><br></font></div></div>
</div>