Posted: Wed May 16, 2007 12:43 am Post subject: Dead Letter Queue
Apprentice
Joined: 03 May 2007 Posts: 27
Hi,
From .Net Application I want to put message in to a dead letter Queue, if there is any problem in the message. Like that , I want to see alll the messages that is there in the DLQ at the end of the day from my .net application.
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
Do not use the system dead letter queue for application messages with a problem. It's designed for use where the queue manager has a problem with messages. If you are going to use it you can just put to it like any normal queue,but ensure that the messages you add & populate a dead letter header as described in the Application Programming Reference manual. Without this none of the DLQ handling tools will work.
You're much better advised to create your own local queue (MY.PROBLEMS or similar) and code your application to write to that in the event of problem. You will find the Backout queue and count attributes on the queue useful in this regard. _________________ Honesty is the best policy.
Insanity is the best defence.
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