I think the dead letter header (DLH) part of the message on the dead letter
queue contains the information you are looking for; name of the intended
queue...



Nii-Boi Kotei



Ryan Parmenter <[EMAIL PROTECTED]>@AKH-WIEN.AC.AT> on 06/24/2002
03:07:35 PM

Please respond to MQSeries List <[EMAIL PROTECTED]>

Sent by:    MQSeries List <[EMAIL PROTECTED]>


To:    [EMAIL PROTECTED]
cc:
Subject:    SYSTEM.DEAD.LETTER.QUEUE on NT



We are running MQ 5.2 on NT.  We are working on a dead letter handler that
carry out specific functions (send e-mail, page, etc.) based on the message
that arrives in the DLQ.

Are there specific message attributes that my application can obtain to
determine which queue the message was intended for?  For example, if a
message was supposed to go into Q1, but ended up in the DLQ, I may want to
send e-mail.  However, if a message was supposed to go into Q2, but ended
up in the DLQ, I may want to send a page.

How can I programmatically determine the source of the message (without
relying on the PutApplicationName property of the message)?

Thanks in advance,

Ryan

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to