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 » General Discussion » Closing a queue

Post new topic  Reply to topic
 Closing a queue « View previous topic :: View next topic » 
Author Message
jmarshall
PostPosted: Thu Feb 22, 2007 8:44 am    Post subject: Closing a queue Reply with quote

Novice

Joined: 04 Jan 2006
Posts: 12

Did the google and faq thing and couldnt find anything significant on this but, if a queue is going to be used more than once in a programs iteration, should the queue be closed after each put/get operation or can it just be closed at the end of the program. Thanks.

Jeff
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Feb 22, 2007 8:47 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It should only be closed when you're done.

Otherwise, it's a performance hit to open it again.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jmarshall
PostPosted: Thu Feb 22, 2007 8:52 am    Post subject: Reply with quote

Novice

Joined: 04 Jan 2006
Posts: 12

Thanks for the speedy response!!

Jeff
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 » General Discussion » Closing a queue
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.