|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Retention Period |
« View previous topic :: View next topic » |
Author |
Message
|
paulfitz |
Posted: Tue Jan 18, 2005 5:53 am Post subject: Retention Period |
|
|
Newbie
Joined: 15 Jun 2004 Posts: 8
|
Could someone explain using the retention period setting on a queue. We have a persistent queue which seems to be losing messages but we can not seem to tie this in to the retention period set on the queue.
Thanks in advance,
Paul Fitz. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Tue Jan 18, 2005 6:35 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Paul
Retention interval applies to queues rather than messages. As the queue isn't 'disappearing' I suspect something other than this is the problem.
From the application Programmers Reference
Quote: |
Retention interval.
This is the period of time for which the queue should be retained. After this time has elapsed, the queue is eligible for deletion.
The time is measured in hours, counting from the date and time when the queue was created. The creation date and time of the queue are recorded in the CreationDate and CreationTime attributes, respectively.
|
Are you setting an expiry on the messages? |
|
Back to top |
|
 |
zpat |
Posted: Tue Jan 18, 2005 9:01 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Persistence applies to messages not queues (I assume you are using permanent and not dynamic queues here).
The "default persistence" queue attribute is only used to set message persistence when the application does not over-ride the persistence in the MQMD. It does not make the queue "persistent"...! |
|
Back to top |
|
 |
csmith28 |
Posted: Tue Jan 18, 2005 3:28 pm Post subject: Re: Retention Period |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
paulfitz wrote: |
Could someone explain using the retention period setting on a queue. We have a persistent queue which seems to be losing messages but we can not seem to tie this in to the retention period set on the queue.
Thanks in advance,
Paul Fitz. |
Check the XMITQ on the remote MQManager if the messages are indeed coming from a remote MQManager. Also look in the SDLQ on both the remote and local MQManager.
Use the "dis qstatus(LOCAL.QUEUE.NAME) type(handle) all" command to make sure you don't have multiple instance of the same application GETing messages off the same queue.
I recently encountered a situation in which the application developers were convinced that Persistent messages were being lost by the MQManager in my System InTegration environment but further investigation exposed that there were two instances of the same application reading off the same SIT Qlocal. One in Dev and one in SIT.  _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
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
|
|
|
|