How do I detect a connection break using MessageQueue

Posted by Lopper on Stack Overflow See other posts from Stack Overflow or by Lopper
Published on 2010-05-13T13:58:30Z Indexed on 2010/05/13 14:04 UTC
Read the original article Hit count: 536

Filed under:
|
|
|
|

My application written in C# makes use of the MessageQueue class in .NET for communicating messages with another remote application and the MessageQueue should always be "connected" (heartbeat present) with the remote messageQueue under all circumstances. If it is not "connected", then it signals that something is wrong and my application will need to perform some actions such as updating an event log.

Is there a method in the MessageQueue class that can be used to detecting such breaks in connection?

© Stack Overflow or respective owner

Related posts about c#

Related posts about msmq