Posted: Thu Oct 23, 2008 6:54 pm Post subject: MQQueueManager hangs
Newbie
Joined: 27 Jun 2008 Posts: 3
Hi,
I have come across an issue with MQ in .Net where the call to new MQQueueManager() hangs indefinitely if the queue manager is down. No exceptions are thrown, and the call never returns.
I am using MQ V6.0. Having looked at the change log for V6.0.2.5, there were nothing obvious that suggests it is fixed in a later release.
Thanks for those that have read this article. Finally tracked down on the issue, the connection manager is called inside a transaction scope and as wmq is down, it can not roll back on the transaction and hence hangs. Reversing the order did the trick, i.e create the connection manager before entering the transaction scope and the appropriate exception is thrown.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum