{{Quickfixn}} Sending Email Message Problem

Grant Birchmeier gbirchmeier at connamara.com
Wed Jul 9 11:53:07 PDT 2025


I believe Stop() and Start() should just work.  (Are you using the most
recent release?)

I think you are being mislead by GetSessionIDs().  These are maintained
internally by QF, and how the Initiator and Acceptor maintains them are
probably different.  I have worked with QF/n for 10+ years and I don't
think I've ever thought to examine GetSessionIDs() closely in the way that
you are doing.  It's not just not relevant.

So my advice is:

* Stop looking at GetSessionIDs(), and do NOT call RemoveSession()!  Forget
this approach altogether.
* *Look at your message and event logs!*  Use a FileLogFactory.  Tell me
*specifically* what you see in those logs.
* Next time you reply, show me your config files (minus any sensitive
information).

-Grant



On Wed, Jul 9, 2025 at 12:41 PM somnath pal <palsomnath at hotmail.com> wrote:

> I did the followings. Are these correct way to do this or there is a
> better way?
>
>             DualEngineAcceptor.Stop(true);
>
>             //Check if all sessions are terminated and removed
>             var sessionList = DualEngineAcceptor.GetSessionIDs();
>
>             if (sessionList.Count > 0)
>             {
>                 //Sessions are still attached
>                 foreach (var sessionId in sessionList)
>                 {
>                     //Terminate and remove
>                     if (sessionId != null)
> DualEngineAcceptor.RemoveSession(sessionId, true);
>                 }
>             }
>
>             //Dispose
>             DualEngineAcceptor.Dispose();
>             DualEngineAcceptor = null;
>
> Thanks,
> Somnath
> ------------------------------
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> on behalf of
> Grant Birchmeier <gbirchmeier at connamara.com>
> *Sent:* 09 July 2025 20:58
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Subject:* Re: {{Quickfixn}} Sending Email Message Problem
>
> When you say "it removes the session," do you actually mean it *resets* the
> sessions?
>
> If yes, it sounds like it may be related to your "ResetOn<X>"
> configurations.
>
> 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.
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>


-- 
<https://www.connamara.com>

Grant Birchmeier

Director of Engineering, Connamara

gbirchmeier at connamara.com

-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20250709/48a168f5/attachment.htm>


More information about the Quickfixn mailing list