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 » How to delete messages from a queue based on date

Post new topic  Reply to topic Goto page Previous  1, 2
 How to delete messages from a queue based on date « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Mon Aug 20, 2012 3:13 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

yeyeman9 wrote:
I am guessing then that there is no possible combination to get this done then?


Why guess? Read the responses.

yeyeman9 wrote:
WE can only do it with a Support pack?


There are a number of ways to do this, one is a support pac.

I'd also be concerned by such a global rule, implemented by a mythical queue manager setting or otherwise. Suppose you set this up such that any message older than X is removed. Joy. Queues are shiny, clean and mostly empty.

Then 6 months down the line someone develops an application which batches up messages (check on this forum for all the posts asking how to run a WMB flow once an hour). Half of the messages sit waiting longer than X, mysteriously vanish and the application people spend ages wondering why their messages vanish.

Or 6 months down the line a consuming application has an unfortunate upgrade applied to it which causes messages to back up in the queue because the application has stopped reading them (or stopped completely). If it takes longer than X to resolve the problem messages are lost.

This is all academic of course. If you delete all messages off a queue manager older than X the queue manager stops working just after all the messages it holds for it's own use are removed...
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » How to delete messages from a queue based on date
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.