Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MessageQueueTransaction timeout

I read about MessageQueueTransaction in MSDN, but I can't find anything about timeouts. What happens if the Commit or Abort just never get called ? Is there some sort of timeout for a transaction between the time it's open and it's release ?

like image 841
Patrice Cote Avatar asked Dec 02 '25 03:12

Patrice Cote


1 Answers

This is an internal transaction so doesn't involve MSDTC (which does have a timeout). I believe that the transaction will exist until your application calls commit or abort. If the application fails or exits without calling either then I would expect MSMQ to abort the transaction for you.

Do you have a specific problem or just curious?

Cheers

John Breakwell

like image 56
John Breakwell Avatar answered Dec 03 '25 19:12

John Breakwell