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 » Messages on the queue

Post new topic  Reply to topic
 Messages on the queue « View previous topic :: View next topic » 
Author Message
Lefebvre
PostPosted: Fri Oct 20, 2006 6:22 am    Post subject: Messages on the queue Reply with quote

Novice

Joined: 10 Sep 2004
Posts: 19

Good Morning all,

This may seem like a silly question but I need to know how long a message will sit on a queue or if there is a time limit.

Thanks,
marsha
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Oct 20, 2006 6:31 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

It depends on the message persistence and if it has an expiry set.

A persistent message with no expiry will stay on the queue indefinately.

A non-persistent message with no expiry will stay on the queue until the queue manager is recycled.

Messages with expiration set will stay on the queue until that expiration is reached (this is a time span and not a set date and time) and something issues a GET on the queue.
Back to top
View user's profile Send private message
Lefebvre
PostPosted: Fri Oct 20, 2006 6:36 am    Post subject: Reply with quote

Novice

Joined: 10 Sep 2004
Posts: 19

Thanks for the help.
I thought that was how it worked but someone was making me second guess myself.
Thanks for clarifiying.

marsha
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Oct 20, 2006 7:53 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Or until expired messages are purged by the queue manager (z/OS only feature?)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 20, 2006 8:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

zpat wrote:
Or until expired messages are purged by the queue manager (z/OS only feature?)


The contract has always been only that expired messaages won't ever be eligible for GET.

Expired messages get pruned in v6 even on distributed.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
irony
PostPosted: Fri Apr 06, 2007 7:24 am    Post subject: expiry Reply with quote

Apprentice

Joined: 18 Nov 2005
Posts: 35
Location: US

jefflowrey wrote:
zpat wrote:
Or until expired messages are purged by the queue manager (z/OS only feature?)



Expired messages get pruned in v6 even on distributed.



Jeff;

Is there a way to stop this pruning process? The expired messages are purged on a 'Put' also? Or only on 'Get'?

Thanks,
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Apr 06, 2007 11:08 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

kevinf2349 wrote:
A non-persistent message with no expiry will stay on the queue until the queue manager is recycled.

Unless NPMCLASS(HIGH) is set for the queue.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Apr 06, 2007 11:14 am    Post subject: Re: expiry Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

irony wrote:
Is there a way to stop this pruning process?

No

get's don't get expired messages and there is also the cleaner running around in different places... AFAIK there is no documentation on this and only known to hursley
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
EddieA
PostPosted: Fri Apr 06, 2007 11:14 am    Post subject: Re: expiry Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

irony wrote:
Is there a way to stop this pruning process? The expired messages are purged on a 'Put' also? Or only on 'Get'?

Why would you want to stop it, as once the message has expired, there's no way to retreive it.

It always used to be a GET, that "would" have retrieved the message if it wasn't expired. But that's not to say that will always be the case.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Apr 06, 2007 11:17 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

EddieA wrote:
kevinf2349 wrote:
A non-persistent message with no expiry will stay on the queue until the queue manager is recycled.

Unless NPMCLASS(HIGH) is set for the queue.

Cheers,

yeah, that's one of the possible new trick questions on the v6 certfication exam... (BTW feature was introduced in 5.3 CSD 6)
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
bruce2359
PostPosted: Fri Apr 06, 2007 3:41 pm    Post subject: Reply with quote

Guest




Michael Dag wrote:
EddieA wrote:
kevinf2349 wrote:
A non-persistent message with no expiry will stay on the queue until the queue manager is recycled.

Unless NPMCLASS(HIGH) is set for the queue.

Cheers,

yeah, that's one of the possible new trick questions on the v6 certfication exam... (BTW feature was introduced in 5.3 CSD 6)


According to the doc. with NPMCLASS(HIGH), the messages will survive a qmgr restart IF the qmgr terminates normally.
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Messages on the queue
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.