Export to GitHub

quickfast - issue #76

DotNet Queueing recived messages


Posted on Feb 7, 2011 by Massive Horse

Hi,

I tried to store the received messages temporally in a ArrayList. They will be processed in another thread. The problem is that the DNClasses are cleared after the msgRecived() callback returns. My alternative solution is to parse it to a temporary structure, queueing and then processing. It would be better to use it directly.

Is there any way to keep DNClasses until my other thread process it?

Thanks in advance

Leonardo Santos

Comment #1

Posted on Feb 14, 2011 by Happy Rhino

This was addressed in a discussion on the QuickFAST users group discussion list.

The quick answer is "No, the message object live only as long as the callback to deliver them to the application. The application may copy the data, or delay returning from the callback until the data is used."

Status: WontFix

Labels:
Type-Defect Priority-Medium