{{Quickfixn}} Sending Email Message Problem

somnath pal palsomnath at hotmail.com
Wed Jul 9 07:00:14 PDT 2025


Hi,

The problem was somewhere else.

If I stop SocketInitiator, it removes the session attached with it.

If I stop ThreadedSocketAcceptor (with or without force), it doesn't remove the sessions attached with it.

This caused a sequence number mismatch and email issue.

So, now my question is what is the correct way to stop acceptor?

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

"next time onwards it's not working"

What does that mean?  What is in your logs?

If you are not using a FileLogFactory, I recommend you use a
FileLogFactory (on both of your apps), and then look at the resulting
logs.

(I'm 100% sure that the value of EmailThreadID is not related to your problem.)

On Wed, Jul 9, 2025 at 1:01 AM somnath pal <palsomnath at hotmail.com> wrote:
>
> Hi,
>
> I have an Acceptor in One Application (App-A)
> I have an Initiator in Another Application (App-I)
>
> On the OnLogon Override method of App-A, I am sending an email to App-I
>
> Email message is
> var msg = new QuickFix.FIX42.Email(new EmailThreadID("1"), new EmailType(EmailType.NEW), new Subject("Sub"));
> msg.SetField(new LinesOfText(1));
> msg.SetField(new Text("Test"));
>
> When, I sent this message from OnLogon Override method of App-A to App-I, first time it is sent correctly.
> But, next time onwards it's now working.
> Sometimes 3 messages sent, but none arrived at App-I
> Sometimes Kept on sending messages, but none arrived at App-I
>
> What could be the mistakes I am doing?
>
> Do I have to change EmailThreadID? I tried, but didn't work.
> Do I have to reply from App-I?
>
>
> Thanks,
> Somnath
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.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.
_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20250709/92b3ad84/attachment-0001.htm>


More information about the Quickfixn mailing list