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 Index » IBM MQ API Support » close queue immediately ????

Post new topic  Reply to topic
 close queue immediately ???? « View previous topic :: View next topic » 
Author Message
elvis_gn
PostPosted: Fri Feb 18, 2005 11:03 pm    Post subject: close queue immediately ???? Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi

I am using a queue with open options of browse,inquire and input_shared.

When i do a queue.close() the queue is not released immediatley and tells me objects in use....if give a wait interval and then run the rest of the program then it works......

I want to know if there is any way i can close the queue immediately ???
Back to top
View user's profile Send private message Send e-mail
rajesh_avrs
PostPosted: Sun Feb 20, 2005 3:42 pm    Post subject: Reply with quote

Apprentice

Joined: 18 May 2001
Posts: 31

Which OS are you running your application and which language?

I have coded several applications and have never seen this problem before.

1) Check if you are issuing the queue.close() in the correct place
2) Check if you are issuing the queue.close() on the correct queue

If you still see the problem, post the code...
_________________
****************
MQSeries is cool
****************
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Sat Feb 26, 2005 11:51 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Also let us know your MQ Ver and CSD level.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
bob_buxton
PostPosted: Sun Feb 27, 2005 6:20 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

Closing a queue does not commit any message puts or gets that have been made to that queue. You would need to commit any updates.
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » close queue immediately ????
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.