ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexIBM MQ Java / JMS2009 : MQRC_CONNECTION_BROKEN

Post new topicReply to topic
2009 : MQRC_CONNECTION_BROKEN View previous topic :: View next topic
Author Message
shreeneewas
PostPosted: Thu Sep 11, 2008 6:06 am Post subject: 2009 : MQRC_CONNECTION_BROKEN Reply with quote

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?


Cheers
Shrini
Back to top
View user's profile Send private message
shreeneewas
PostPosted: Thu Sep 11, 2008 6:47 am Post subject: Reply with quote

Newbie

Joined: 11 Sep 2008
Posts: 2

One clarification:-

To test the network disconnection, I tried following two methods

1. Unplug the network cable
2. Disable the network adapter

In both the cases, I got exactly same behavior explained above.

cheers
Shrini
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Java / JMS2009 : MQRC_CONNECTION_BROKEN
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.