Author |
Message
|
s-r-i |
Posted: Wed Aug 10, 2005 10:52 pm Post subject: dead letter queue |
|
|
 Novice
Joined: 03 Aug 2005 Posts: 17
|
hi
can anyone tell me the steps to create and test the working of a dead letter queue .i have gone through the intercommunication manual but i dont know how to start and use the dead letter queue .please help |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Aug 10, 2005 11:22 pm Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Create a DLQ with DEF QL(MYDLQ)
Define the DLQ to the qmgr with ALTER QMGR DEADQ(MYDLQ) _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
sebastianhirt |
Posted: Wed Aug 10, 2005 11:25 pm Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
Hi,
You just do
DEFINE QLOCAL(<DEAD.LETTER.QUEUE>)
ALTER QMGR DEADQ(<DEAD.LETTER.QUEUE>)
on a runmqsc prompt.
Where <DEAD.LETTER.QUEUE> is what you choose it to be.
You can also use the SYSTEM.DEAD.LETTER.QUEUE. This is one of the queue managers default object. But as I said. Up to you...
There is no real need to test this. If you specified the right name in your configuration it will work.
What you could do is putting 6 messages to a queue on a remote host (with a remote queue for example), that's depth is 5. The 6th message shuld go to the dead letter queue.
cheers
Sebastian |
|
Back to top |
|
 |
hopsala |
Posted: Thu Aug 11, 2005 1:59 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
Or simply "put inhibit" it, or just deleted it...
You should also take a look at the dead letter queue handler, see chapter 12 in "System Administration Guide".
MQ knowledge is not fully concentrated in Intercommunication manual, just the general idea. You should also read "System Administration Guide" and "Programming Guide". |
|
Back to top |
|
 |
supreeth |
Posted: Sat Aug 13, 2005 12:23 am Post subject: |
|
|
 Voyager
Joined: 17 May 2005 Posts: 90 Location: London
|
Hi,
Code: |
What you could do is putting 6 messages to a queue on a remote host (with a remote queue for example), that's depth is 5. The 6th message shuld go to the dead letter queue.
|
Also, ensure that the channel retry count and retry interval is set appropriately to suit your needs.
Thanks and Regards,
supreeth |
|
Back to top |
|
 |
|