I am using the MQ.NET classes of the MQ 7x client, and importing and exporting messages works fine. However, if there is a network disconnect or the remote manager is disconnected, the IBM MQ client doesn't automatically reconnect. I get:
Error: Remote host not available, retry later.
Is there a way to auto-connect and continue processing the message when these kind of issues occur?
There is a property to check the connection of the queue manager:
mqQMgr = new MQQueueManager("My queue manager name" ,"my channel name",",my connection name");
`mqQMgr.IsConnected` returns true/false, but this doesn't help to auto-connect.
PravinKapile 270000RWYT1 Post
Re: How do I auto-connect IBM MQ client ?2013-05-03T06:55:30ZThis is the accepted answer. This is the accepted answer.
Do check MQ v7.0.1 client's reconnection feature.