<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">I don't know. I've never had to seamlessly hand off a connection from one acceptor to another. </div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 16, 2020 at 12:54 PM Pandit, Rohan <<a href="mailto:Rohan.Pandit@sculptor.com">Rohan.Pandit@sculptor.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Grant,<br>
Understood, How would you suggest to sync sequence number between parties?<br>
<br>
Thanks,<br>
Rohan Pandit<br>
T: 646.366.2813<br>
rohan.pandit@Sculptor.com<br>---<br>
<br>
Message: 1<br>
Date: Thu, 16 Jul 2020 12:14:46 -0500<br>
From: Grant Birchmeier <<a href="mailto:gbirchmeier@connamara.com" target="_blank">gbirchmeier@connamara.com</a>><br>
To: "Mailing list for QuickFIX/n" <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br>
Subject: Re: {{Quickfixn}} Quckfix setNextSenderMsgSeqNum method<br>
(Grant Birchmeier)<br>
Message-ID:<br>
<CAMq4opOw9yhXaFsuM+NT+=ikJmmRXrmZmSW6a3Q_Y8p=<a href="mailto:0jQ6Tg@mail.gmail.com" target="_blank">0jQ6Tg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Rohit, this is not really a workflow I'd encourage.<br>
<br>
However, Session does have a NextSenderMsgSeqNum property with a public setter.<br>
<br>
I suppose you could use SessionID to lookup the Session and then you'd have a way to call the method.<br>
<br>
But I really do think what you're doing is pretty unorthodox and not to be encouraged.<br>
<br>
-Grant<br>
<br>
<br>
On Wed, Jul 8, 2020 at 2:50 PM Pandit, Rohan <<a href="mailto:Rohan.Pandit@sculptor.com" target="_blank">Rohan.Pandit@sculptor.com</a>><br>
wrote:<br>
<br>
> Hi Grant,<br>
> I have 2 acceptors running and I am not using common message store.<br>
> But I am using redis cache just to store sender and target sequence<br>
> number. So when one of my acceptors goes down then my plan is to look<br>
> into redis for the last sender sequence number and then use<br>
> setNextSenderMsgSeqNum method to set Sender Seq Number accordingly for<br>
> acceptor 2. Without that I am getting MsgSeqNum too low error from the<br>
> initiator side. Let me know if you need more information.<br>
><br>
> Thanks,<br>
> Rohan Pandit<br>
> T: 646.366.2813<br>
> rohan.pandit@Sculptor.com<br>
><br>
><br>
><br>
<br>
--</blockquote></div>-- <br><div dir="ltr" class="gmail_signature"><div><font size="2"><span style="background-color:rgb(0,0,0)"><span style="background-color:rgb(255,255,255)">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:rgb(255,204,51)"><span style="background-color:rgb(255,204,102)"><span style="background-color:rgb(255,204,153)"><span style="background-color:rgb(255,255,255)"><span style="background-color:rgb(255,204,0)">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>
<br>
<span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;white-space:pre-wrap;background-color:white"><font size="2">This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.</font></span>