I'm going to be using MSMQ to do some asynchronous processing, and in some cases the messages I will be queueing up will be a graph of entities.
I could use hand-coded DTOs, but I do need to represent relations between objects, so it makes more sense on the surface to just go ahead and use entities. Feedback on this would be welcome, but this is not my main question.
My main question is: is it possible to use fast serialization to read/write from MSMQ?
The message object in System.Messaging has a Formatter property that allows you to assign an instance of an IMessageFormatter. Is it possible to instantiate the fast serialization formatter and use it to format a message (which will only contain entities)?
I am assuming setting SerializationHelper.Optimization to fast won't affect sending messages to MSMQ?
Thanks,
Phil
(EDIT: using Adapter with version 2.6.8.903)