Skip to content

LimitedTransaction

busterwood edited this page Jan 5, 2018 · 5 revisions

Properties:

  • MaxOpenTransactions the maximum number of LimitedTransaction that can be open concurrently, defaults 5000

See QueueTransaction for other details.

Why?

If your application opens enough transactions it can cause MSMQ to slow to a crawl (or stop) until transactions are complete. I've seen MSMQ stop when just over 80,000 transactions were left open. This class limits the number of open transactions in your application to a reasonable (configurable) level.

Clone this wiki locally