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 IBM MQ Support » Retention Period

Post new topic  Reply to topic
 Retention Period « View previous topic :: View next topic » 
Author Message
paulfitz
PostPosted: Tue Jan 18, 2005 5:53 am    Post subject: Retention Period Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Tue Jan 18, 2005 6:35 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Jan 18, 2005 9:01 am    Post subject: Reply with quote

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
View user's profile Send private message
csmith28
PostPosted: Tue Jan 18, 2005 3:28 pm    Post subject: Re: Retention Period Reply with quote

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
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 IBM MQ Support » Retention Period
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.