<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The problem was somewhere else.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If I stop SocketInitiator, it removes the session attached with it.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If I stop ThreadedSocketAcceptor (with or without force), it doesn't remove the sessions attached with it.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
This caused a sequence number mismatch and email issue.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
So, now my question is what is the correct way to stop acceptor?</div>
<div id="Signature">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Somnath</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Quickfixn <quickfixn-bounces@lists.quickfixn.com> on behalf of Grant Birchmeier <gbirchmeier@connamara.com><br>
<b>Sent:</b> 09 July 2025 18:55<br>
<b>To:</b> Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com><br>
<b>Subject:</b> Re: {{Quickfixn}} Sending Email Message Problem</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">"next time onwards it's not working"<br>
<br>
What does that mean?  What is in your logs?<br>
<br>
If you are not using a FileLogFactory, I recommend you use a<br>
FileLogFactory (on both of your apps), and then look at the resulting<br>
logs.<br>
<br>
(I'm 100% sure that the value of EmailThreadID is not related to your problem.)<br>
<br>
On Wed, Jul 9, 2025 at 1:01 AM somnath pal <palsomnath@hotmail.com> wrote:<br>
><br>
> Hi,<br>
><br>
> I have an Acceptor in One Application (App-A)<br>
> I have an Initiator in Another Application (App-I)<br>
><br>
> On the OnLogon Override method of App-A, I am sending an email to App-I<br>
><br>
> Email message is<br>
> var msg = new QuickFix.FIX42.Email(new EmailThreadID("1"), new EmailType(EmailType.NEW), new Subject("Sub"));<br>
> msg.SetField(new LinesOfText(1));<br>
> msg.SetField(new Text("Test"));<br>
><br>
> When, I sent this message from OnLogon Override method of App-A to App-I, first time it is sent correctly.<br>
> But, next time onwards it's now working.<br>
> Sometimes 3 messages sent, but none arrived at App-I<br>
> Sometimes Kept on sending messages, but none arrived at App-I<br>
><br>
> What could be the mistakes I am doing?<br>
><br>
> Do I have to change EmailThreadID? I tried, but didn't work.<br>
> Do I have to reply from App-I?<br>
><br>
><br>
> Thanks,<br>
> Somnath<br>
> _______________________________________________<br>
> Quickfixn mailing list<br>
> Quickfixn@lists.quickfixn.com<br>
> <a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br>
<br>
<br>
-- <br>
<br>
Grant Birchmeier<br>
<br>
Director of Engineering, Connamara<br>
<br>
gbirchmeier@connamara.com<br>
<br>
-- <br>
This email, along with any attachments, is confidential. If you believe you <br>
received this message in error, please contact the sender immediately and <br>
delete all copies of the message. Thank you from Connamara Systems, LLC.<br>
_______________________________________________<br>
Quickfixn mailing list<br>
Quickfixn@lists.quickfixn.com<br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</div>
</span></font></div>
</body>
</html>