|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Persistent Dynamic Queues (life cycle) |
« View previous topic :: View next topic » |
Author |
Message
|
Gideon |
Posted: Fri Apr 04, 2014 11:24 am Post subject: Persistent Dynamic Queues (life cycle) |
|
|
Chevalier
Joined: 18 Aug 2009 Posts: 403
|
In this site:
http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/index.jsp?topic=%2Fcom.ibm.mq.ref.adm.doc%2Fq083500_.htm
It says that
Code: |
They are deleted when an application (not necessarily the one that issued the MQOPEN call that created the queue) successfully closes the queue using the MQCO_DELETE or MQCO_DELETE_PURGE option. |
My question: If all of the applications that have opened the queue sudenly terminate, without any one of them clsing with the MQCO_DLETE or MQCO_DELETE_PURGE option (they all simply terminate with closing with these options), will the Persistent Dynamic queue persist, or will its life end
Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Fri Apr 04, 2014 11:29 am Post subject: Re: Persistent Dynamic Queues (life cycle) |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Not convinced that's the link you think it is.
Gideon wrote: |
My question: If all of the applications that have opened the queue sudenly terminate, without any one of them clsing with the MQCO_DLETE or MQCO_DELETE_PURGE option (they all simply terminate with closing with these options), will the Persistent Dynamic queue persist, or will its life end |
It says here:
http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/topic/com.ibm.mq.pro.doc/q003140_.htm
Code: |
They hold persistent or nonpersistent messages.
They are recoverable in the event of system failures. |
Both of these things would be impossible if the queue disappeared when nothing was connected to it.
Please do a little more research before posting these little questions. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Apr 05, 2014 10:35 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
For purposes of clarity and precision:
Dynamic queues come in two flavors, namely: Temporary Dynamic Dynamic and Permanent Dynamic. The title of your OP
Quote: |
Persistent Dynamic Queues (life cycle) |
incorrectly refers to the Permanent flavor as persistent.
Temporary Dynamic queues can only hold non-persistent messages, while Permanent Dynamic queues can hold both non-persistent and persistent messages.
Temporary Dynamic queues cannot live beyond the life of the application, while Permanent Dynamic queues can live beyond the life of the application. All of this is clearly explained in the InfoCenter and APR and APG manuals. _________________ 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
|
|
|
|