{{Quickfixn}} Cracking Messages From Strings

Ian Clements ian.clements at investmentsoftwareltd.com
Mon Sep 28 09:03:07 PDT 2015


Thanks Grant.

What class is this method on?  Can you provide an example?

Thanks.

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
Sent: 28 September 2015 16:53
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} Cracking Messages From Strings

You want to use FromString().

Click here for an example of turning a string into a FIX 4.2. NewOrderSingle:
https://github.com/connamara/quickfixn/blob/master/UnitTests/MessageTests.cs#L344

On Mon, Sep 28, 2015 at 10:45 AM, Ian Clements <ian.clements at investmentsoftwareltd.com<mailto:ian.clements at investmentsoftwareltd.com>> wrote:
Hi all,

I have messages being processed on an alternate thread so if there is a system crash I need to restore any unprocessed ones from the current messages log file.  Someone had suggested resetting the seq num which I tried but this causes problems with my provider and doesn’t really work as essentially I have received the messages I was just holding them in memory for processing.

Restoring from the log file seems robust and is working great except I need to Crack the messages into a strongly typed class.  There doesn’t seem to be a very easy way to do this as it seems to be baked into the QuickFix engine.

Does anyone know how to Crack messages outside of the actual QuickFix engine?

Many thanks,
Ian.

_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com<mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com



--
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20150928/0636d08e/attachment-0002.htm>


More information about the Quickfixn mailing list