|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
When to use dynamic queues over static queues |
« View previous topic :: View next topic » |
Author |
Message
|
Boomn4x4 |
Posted: Wed Dec 07, 2011 8:14 am Post subject: When to use dynamic queues over static queues |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Dec 07, 2011 8:18 am Post subject: |
|
|
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 |
|
 |
bruce2359 |
Posted: Wed Dec 07, 2011 10:12 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|