0

If using MSMQ 3.0, or 4.0:

I fully understand that the following is not a common, or "correct" way to use a queue, but the point is solving a specific issue immediately.

Is it possible to perform a read from a remote queue and a write to the same remote queue in a same transaction? The application performing this being the sole writer, but not the only reader. Given that the version of MSMQ is used that supports remote transactional reads. Are there any issues with this way of using the queue?

  • There are multiple reading applications but only one sender? Are all the readers going to be in the same transaction? I'm confused about what you are trying to do. – John Breakwell May 01 '11 at 22:12

1 Answers1

0

Have you tried peek? This way you can read the queue without having to write back.

http://msdn.microsoft.com/en-us/library/829zyck7.aspx

Matthew Rhoden
  • 688
  • 1
  • 10
  • 20