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 » Expiry MQ Messages

Post new topic  Reply to topic
 Expiry MQ Messages « View previous topic :: View next topic » 
Author Message
psn
PostPosted: Wed Mar 10, 2004 5:49 am    Post subject: Expiry MQ Messages Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

Hi,

How can I find out how much messages are expired on a queue ?

Thanks

PSN
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Wed Mar 10, 2004 6:38 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

If you want to keep track of messages that have expired you should look at report options and the resulting feedback codes in the report messages.

From APR:
Quote:
A report is generated when an expired message is discarded, if the message specified one of the MQRO_EXPIRATION_* report options. If none of these options is specified, no such report is generated; the message is assumed to be no longer relevant after this time period (perhaps because a later message has superseded it).

Any other program that discards messages based on expiry time must also send an appropriate report message if one was requested.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Mar 10, 2004 7:01 am    Post subject: Reply with quote

Jedi

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

If you do use the Expired Message Report option, be aware that the report is generated when the message *IS* discarded, not when it actually expires.

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
kman
PostPosted: Thu Mar 11, 2004 1:34 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

In other words.. the expired messages only get to be candidate for expiry.. until someone or an application goes about to pick it up.. then only they get expired and deleted from the queue. The report would only goes out after this.
Back to top
View user's profile Send private message Yahoo Messenger
EddieA
PostPosted: Thu Mar 11, 2004 7:15 am    Post subject: Reply with quote

Jedi

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

Absolutely correct. (Except on z/OS, where I seem to remember there's a way to periodically "clear" the expired messages).

And don't forget, that 'application' could be an MCA sending the message out to a Channel.

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
bower5932
PostPosted: Thu Mar 11, 2004 7:32 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

A qmgr parameter:

EXPRYINT: specifies how often queues are scanned to discard expired messages.

Supported only on z/OS.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Expiry MQ Messages
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.