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 » DLQ disappearing messages

Post new topic  Reply to topic
 DLQ disappearing messages « View previous topic :: View next topic » 
Author Message
tczielke
PostPosted: Mon Oct 06, 2014 12:46 pm    Post subject: DLQ disappearing messages Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

I have run into a situation intermittently where I will get to work on Monday morning and find > 1,000 messages on a DLQ. When I go to browse them with different monitoring tools, I get back no messages available and the curdepth of the DLQ is zero. I am thinking what is happening is the messages that got put the DLQ had an expiry that has now passed. I did a quick test of this on my Sandbox, and can seem to recreate this scenario. In other words, the messages that have passed the expiry stay on the queue (i.e. DLQ) until an app actually tries to GET them.

However, I would like to see the contents of these DLQ messages to make sure they are what I think they are. However, if I do a GET to view them, MQ obviously deletes them since they have expired. Any ideas how I could see what the contents of the messages were? I tried running tracing while running an amqsbcg program, to see if I could see the messages in a trace. I traced both the amqsbcg program and the queue manager agent (amqzlaa0). No success.

Without adding some API exit or auditing to capture the message before they get PUT to the DLQ, any ideas how I could see the contents of these expired messages?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Oct 06, 2014 12:54 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You might be able to use one of the products by the forum sponsor Cressida to do this.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Oct 06, 2014 1:01 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Process them when they arrive on the DLQ and change the expiry to non-expiry.

Easy to do with a message broker. Might be possible to do with the runmqdlq program (or change the source of that to do it).

Or run a cron to backup the DLQ every hour (or whatever) using QLOAD.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
tczielke
PostPosted: Tue Oct 07, 2014 4:21 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

Thanks to all, for the suggestions!
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 » DLQ disappearing 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.