<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">In the default FIX message dictionary, "n" is actually an admin message type (XMLnonFIX message).</div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default"><font color="#000000">If your counterparty had picked any letter/number not in "0A12345n," you'd be fine.  But they picked "n".</font><br></div><div><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">In the QF/n code, the list of admin messages is hardcoded, because we don't expect counterparties to mess with those types.  And in our defense, they usually don't.<br></div><div class="gmail_default"><font color="#000000"><a href="http://github.com/connamara/quickfixn/blob/master/QuickFIXn/Message/Message.cs#L118-L121">http://github.com/connamara/quickfixn/blob/master/QuickFIXn/Message/Message.cs#L118-L121</a></font><br></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#0000ff">"Should I just check for this message type in FromAdmin and call Crack() when I find it?"</font></div><div class="gmail_default"><font color="#000000">Yep, I think this would be a perfectly fine way to workaround it.  Alternately, you can hack the source and take the "n" out of the function that I linked above and rebuild the engine, but I wouldn't do that if I was in your shoes :)</font><br></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">-Grant</font></div><div class="gmail_default"><font color="#000000"><br></font></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 27, 2021 at 12:15 PM Ados Vsmm <<a href="mailto:adosvsmm@gmail.com">adosvsmm@gmail.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">Hello,<br><br>We are configuring a fix connection with a new couterparty, and this CP uses a custom message, when receiving this custom messages I get FromAdmin been called instead of FromApp which is where a call Crack(), they have provided us the DD, it seems right to me:<br><br><messages><br>...<br><message name="CustomMessage" msgtype="n" msgcat="app"><br>...<br><br><fields><br>...<br><filed number="35" name="MsgType" type="STRING"><br>...<br><value enum="n" description="XML_NO" /><br><br>Can someone please confirm if this is the expected behavior for custom messages? Should I just check for this message type in FromAdmin and call Crack() when I find it?<br><br>Fix version is 4.4 and we're using Quickfix 1.8.0<br><br>Thanks
_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote></div><br clear="all"><div><br></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>

<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>