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 » Building DLH in poison message

Post new topic  Reply to topic
 Building DLH in poison message « View previous topic :: View next topic » 
Author Message
wraymore
PostPosted: Fri Jan 23, 2009 8:45 am    Post subject: Building DLH in poison message Reply with quote

Centurion

Joined: 16 Aug 2005
Posts: 114
Location: Burlington, NC USA

Have a WAS5.1 MDB that determines that a poison message has been read. MQ Support staff wants a DLH added to the message prior to putting the message on a local queue defined to receive failure messages. Is it possible with WAS 5.1?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 23, 2009 11:04 am    Post subject: Re: Building DLH in poison message Reply with quote

Grand High Poobah

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

wraymore wrote:
MQ Support staff wants a DLH added to the message prior to putting the message on a local queue defined to receive failure messages.


That's a very odd thing for MQ Support people to want. The DLH is fairly specific for an undeliverable message rather than a poison one, and is typically reserved for messages going to a dead letter queue, not a failure queue. What's their reasoning on this?

AFAIK WAS will just move the message to the defined backout queue once the threshold is reached. Someone might know if you can vary this behavior.

This site uses an RFH2 header to store failure details of poison & other error messages.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
wraymore
PostPosted: Fri Jan 23, 2009 12:03 pm    Post subject: Reply with quote

Centurion

Joined: 16 Aug 2005
Posts: 114
Location: Burlington, NC USA

The MQ Support team is wanting the apps to use a single queue per QM for failures. They chose the DLH so that the apps could record in the message the reason for failure in order for the MQ Support OnCall to not have access to log files to determine whether the message should be replayed or discarded and notify the producer to recreate the message.

However the Java development staff is not finding any documentation on how to achieve this task. So I thought I would try a post here.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 23, 2009 12:14 pm    Post subject: Reply with quote

Grand High Poobah

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

wraymore wrote:
They chose the DLH so that the apps could record in the message the reason for failure in order for the MQ Support OnCall to not have access to log files to determine whether the message should be replayed or discarded and notify the producer to recreate the message.


Fair point.

Here uses an RFH2 because of the space and flexibility the <usr> folder offers. Could use the code in the DLH though; see how that would work.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 23, 2009 3:24 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

wraymore wrote:
The MQ Support team is wanting the apps to use a single queue per QM for failures. They chose the DLH so that the apps could record in the message the reason for failure in order for the MQ Support OnCall to not have access to log files to determine whether the message should be replayed or discarded and notify the producer to recreate the message.

However the Java development staff is not finding any documentation on how to achieve this task. So I thought I would try a post here.

This is a task for the MQAdmin.
It states clearly somewhere in the manual that if BOTHRESH is set and there is no backout queue defined the WAS MDB sends the messages to the DLQ. (expect RC 2362)

Now if they want the messages on specific error queues with a DLQ header have them run a DLQ Handler that will do that for them...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wraymore
PostPosted: Mon Jan 26, 2009 6:50 am    Post subject: Reply with quote

Centurion

Joined: 16 Aug 2005
Posts: 114
Location: Burlington, NC USA

Thank you for your replies.
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 » IBM MQ Java / JMS » Building DLH in poison message
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.