<html><head><title>Re: {{Quickfixn}} Cracking Messages From Strings</title>
</head>
<body>
<span style=" font-family:'Tahoma'; font-size: 12pt;">You could stuff all trade-related messages into a disk-based MSMQ instead of a collection. That way you won't lose any messages unless you have a hardware crash. Not as lightning fast as a collection but it's still pretty good.<br>
<br>
Francis<br>
__________________________________<br>
Monday, September 28, 2015, 11:45:58 AM, Ian wrote:<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'calibri'; font-size: 11pt;">Hi all,<br>
 <br>
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.<br>
 <br>
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.<br>
 <br>
Does anyone know how to Crack messages outside of the actual QuickFix engine?<br>
 <br>
Many thanks,<br>
Ian.</td>
</tr>
</table>
</body></html>