Tag: c#

Compressing NServiceBus 5 Messages

I recently had the pleasure of working on a project where I needed to send (relatively) large amounts of data in a MSMQ message via NServiceBus. To give a bit of background, I have an endpoint that receives a reference to a transaction. I take that reference and pull roughly 2-7 mb of data all in XML enhance it and then I need to publish it to a handful of subscribers. On any given day, there are thousands if not tens of thousands of these messages being sent through this system, and speed/processing time is crucial. (more…)