{{Quickfixn}} Sending Email Message Problem

somnath pal palsomnath at hotmail.com
Wed Jul 9 21:34:44 PDT 2025


[DEFAULT]
UseDataDictionary=N
CheckLatency=N
ValidateFieldsOutOfOrder=N
ValidateFieldsHaveValues=N
SocketAcceptPort=5002
ConnectionType=acceptor
FileLogPath=log
FileStorePath=store

[SESSION]
BeginString=FIX.4.2
SenderCompID=FIX_DRE
TargetCompID=FWA

HeartBtInt=30
ReconnectInterval=30
LogonTimeout=120
ResetOnLogon=N
ResetOnLogout=N
ResetOnDisconnect=N
RefreshOnLogon=N

StartDay=Monday
EndDay=Sunday
StartTime=00:01:00
EndTime=23:59:00

SSLEnable=N

Thanks,
Somnath


________________________________
From: Quickfixn <quickfixn-bounces at lists.quickfixn.com> on behalf of Grant Birchmeier <gbirchmeier at connamara.com>
Sent: Thursday, July 10, 2025 00:23
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} Sending Email Message Problem

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<mailto: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<mailto:quickfixn-bounces at lists.quickfixn.com>> on behalf of Grant Birchmeier <gbirchmeier at connamara.com<mailto:gbirchmeier at connamara.com>>
Sent: 09 July 2025 20:58
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com<mailto: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<mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com


--
[https://lh4.googleusercontent.com/1ZKItKWIoLUepUXvEXgEeZWBlntjas7UxLPLuLLnsApbxAcRepKELA_SwZBe1BWEZ3huC6sJdz2ZzvUYLNgu56Zcm8bo2R_iLzXZVjDmMo67675iop6mEMOg_Y6q8Mtz7ylOW9t8RazXt-tyJtEyhE0]<https://www.connamara.com>


Grant Birchmeier

Director of Engineering, Connamara

gbirchmeier at connamara.com<mailto: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/20250710/674f714d/attachment-0001.htm>


More information about the Quickfixn mailing list