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 » IBM MQ Java / JMS » Move messages form DLQ to Destination queue

Post new topic  Reply to topic
 Move messages form DLQ to Destination queue « View previous topic :: View next topic » 
Author Message
narendra
PostPosted: Thu Sep 05, 2002 12:30 pm    Post subject: Move messages form DLQ to Destination queue Reply with quote

Apprentice

Joined: 04 Jun 2002
Posts: 26

HI
Could you please tell me how to forward the messages from the Dead letter queue to the destination queue originally intended.
1) java tool : Strip the DLQ header and put the message on to dest Q
2) runmqdlq with rules

If you have source code, please share with me.
I will really appreaicate that.

Thanks in advance
Narendra
Back to top
View user's profile Send private message
bduncan
PostPosted: Thu Sep 05, 2002 2:27 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Narendra,
Usually, there a business rules associated with a message on the dead letter queue. For instance, if the reason the message landed on the dead letter queue was because the putting application tried to put to a queue that didn't exist, well, this is a problem that can't be solved by simply re-routing the message. It'll simply fail again. On the other hand, if the message ended up on the dead letter queue because the destination queue was full, well, this is a transient problem. The dead letter handler application might be smart enough to check that queue and make sure it isn't full anymore before attempting to reroute the message, etc. As you can imagine there are many other situations like these which require some logic to be performed before doing something with the message on the dead letter queue. This is why I recommend writing your own custom dead letter handler. You can start with the source code for the runmqdlq program that ships with MQSeries, and go from there. The key is to parse the dead letter header to determine WHY the message ended up on the dead letter queue. Once you know this, your application can determine whether the condition is transient, or whether there's really nothing that can be done with this message, etc...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Move messages form DLQ to Destination 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.