Author |
Message |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Thu Oct 14, 2004 10:01 am Subject: MQQueueManager will not disconnect until waitInterval done |
Aha. I reread his posts again. You're right. looks like a quit message or a disable of the queue is the only way to pull off what he is trying to do.
Don't know why I was thinking he was trying to ... |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Wed Oct 13, 2004 12:47 pm Subject: MQQueueManager will not disconnect until waitInterval done |
One way to force a blocked get to return is to change the queue to get inhibited, the get will immediately return with a 2014 error.
Thanks for the tip. I tried this. Also had to open queue wi ... |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Wed Oct 13, 2004 11:09 am Subject: MQQueueManager will not disconnect until waitInterval done |
Just wanted to say thanks to all for your responses!
bower5932 - thanks! I tried your suggestion only to find I do not have write access to my input queue. I will have to talk to the queue owner ... |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Wed Oct 13, 2004 7:55 am Subject: MQQueueManager will not disconnect until waitInterval done |
Everybody, thanks for your responses!
I am getting conflicting messages from the group though.
Some are saying that MQGMO_FAIL_IF_QUIESCING in the gmo options should solve my problem. However w ... |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Tue Oct 12, 2004 1:14 pm Subject: MQQueueManager will not disconnect until waitInterval done |
Here is my get routine:
public MQMessage get() throws MQException {
MQMessage msg = new MQMessage();
try {
MQGetMessageOptions msgOptions = new MQGetMessage ... |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Tue Oct 12, 2004 1:09 pm Subject: MQQueueManager will not disconnect until waitInterval done |
The problem that I am having is that when I want to restart my Tomcat server, I use a ServletContextListener that attempts to shutdown the MQQueueManager. When I perform MQQueueManager.disconnect() t ... |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Tue Oct 12, 2004 12:54 pm Subject: MQQueueManager will not disconnect until waitInterval done |
What is your problem?????
Are you wanting not to wait for 60 seconds... then change the wait time.
I don't want to wait up to 60 seconds to disconnect.
Thanks! |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Tue Oct 12, 2004 12:51 pm Subject: MQQueueManager will not disconnect until waitInterval done |
<idiot>
In my original posting I grabbed the wrong code, which was for the output queue which I was expirementing with. Posted below is code for creating the input queue. Sorry for any confus ... |
Topic: MQQueueManager will not disconnect until waitInterval done |
dustoff
Replies: 21 Views: 12267
|
Forum: IBM MQ Java / JMS Posted: Tue Oct 12, 2004 12:43 pm Subject: MQQueueManager will not disconnect until waitInterval done |
Looking for advice.
My MQQueueManager will not disconnect until the waitInterval that I set (60 seconds ) has completed on the get().
I studied this forum and applied the MQC.MQOO_FAIL_IF_QUIESC ... |