Posted: Thu Sep 11, 2008 6:06 am Post subject: 2009 : MQRC_CONNECTION_BROKEN
Newbie
Joined: 11 Sep 2008 Posts: 2
Hi,
I am working on a application that connects to MQ server to retrieve the messages for processing. We are using Java MQ API for connecting to MQ server.
While testing the condition of network disconnection, we found that MQException is thrown with reason code 2009 : MQRC_CONNECTION_BROKEN.
But quiet strangely MQQueueManager instance returns “true” on call to isConnected(). Similarly MQQueue instance returns “true” on call to isOpen().
We were expecting that these two (atleast isOpen() if not both) methods would return “false” since connection is broken completely.
Am I missing anything here? Anything in setting that would make it behave as expected?
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