Posted: Tue Mar 11, 2003 12:28 pm Post subject: how to delete Expired Messages on queue
Novice
Joined: 15 Apr 2002 Posts: 10
I have read the forum looking for a way to delete expired messages on the queue. We are using MQ Java. The only solution I have seen is to run a MQBrowse program outside of our application. Is that still valid information?
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
Depending on your platform, the information is still valid. You can run the amqsbcg sample program that ships with MQSeries to remove expired messages. If you are on z/OS, there is a parameter that you can specify to indicate how often MQ should look at queues to get rid of expired messages.
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