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 » When to use dynamic queues over static queues

Post new topic  Reply to topic
 When to use dynamic queues over static queues « View previous topic :: View next topic » 
Author Message
Boomn4x4
PostPosted: Wed Dec 07, 2011 8:14 am    Post subject: When to use dynamic queues over static queues Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

I'm going back and forth as to whether to use a static or dynamic queue for a simple request / reply setup.

What are the +'s and -'s to creating a dynamic queue on the fly and putting a message, then putting a response on that dynamic queue, and getting the response from the queue... as opposed to doing the same thing, but on a statically defined local queue?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Dec 07, 2011 8:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It has to do with the lifetime of the requesting application.

If the requesting application is going to start and stop infrequently and only be running for a small amount of time, it's reasonable to use dynamic queues.

If the requesting application is going to start and stay running for a long time, or is going to start and stop on a frequent basis - or at least open and close it's queue on a frequent basis, then you absolutely always want to use a predefined queue.

You then make the decision on whether or not that predefined queue is shared with other instances of an application based on the volume of messages coming into it.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 07, 2011 10:12 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9470
Location: US: west coast, almost. Otherwise, enroute.

This has been discussed here many, many times. Try the Search button at the top of this page.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » When to use dynamic queues over static queues
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.