Author |
Message
|
paul0al |
Posted: Thu Aug 08, 2002 7:18 am Post subject: Why doesn't MQSeries for Windows support dead letter queue |
|
|
Apprentice
Joined: 30 May 2002 Posts: 26
|
Why doesn't MQSeries for Windows support dead letter queue? I have a VB program that sends messages to a queue, but the program quits when queue becomes full. I need the program to continue even if the remaining messages end up in the dead letter queue. Is there a windows alternative that offers the same benefits as a dead letter queue?
thanks |
|
Back to top |
|
 |
kirani |
Posted: Thu Aug 08, 2002 9:27 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Please check if a Dead Letter queue is assigned to you queue manager. You could do this by bringing up properties window of a queue manager from MQSeries Explorer. Under Extended tab see if there is any DLQ assigned. You could also check this using MQSC command DIS QMGR, look for DEADQ property. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
paul0al |
Posted: Thu Aug 08, 2002 10:54 am Post subject: Still no luck with dead-letter queue |
|
|
Apprentice
Joined: 30 May 2002 Posts: 26
|
I read this document from IBM that said "Dead-Letter queues are not supported on MQSeries for Windows." You can take a look at www-3.ibm.com/software/ts/mqseries/library/ manualsa/csqzae05/csqzae050i.htm I also tried setting up a dead-letter queue for use with my queue manager but my program still fails when the queue runs out of space.
thanks  |
|
Back to top |
|
 |
bduncan |
Posted: Thu Aug 08, 2002 11:00 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
|
Back to top |
|
 |
mrlinux |
Posted: Thu Aug 08, 2002 7:32 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
When writing to a local queue and you receive error of queue full it is up to the app to handle the error, MQSeries qmgr only writes to the deadq when a channel program cant write to a queue, there are exceptions to this (IMS/OTMA) _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Aug 08, 2002 8:39 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Paul0al,
Brandon is right about MQSeries for Windows (originally called Leaf Node). It was designed for laptop users who were not always connected to a network but had an application that required MQ access. Therefore, Leaf Node implemented a partial queue manager. Hence, the dead letter queue was not included - as per the docs you were reading.
We are assuming that you read the wrong manual.
As requested, is this a local or remote queue that your VB application is putting the messages to? Because your answer will make a difference to our answer.
- If you are putting the messages to a remote queue, AND if a dead letter queue is defined on the remote queue manager, then when the queue becomes full the queue manager will automatically put the next message(s) onto the dead letter queue.
- If you are putting the messages to a local queue, a dead letter queues is NOT used. But rather when the queue becomes full, the queue manager will return a reason code of 2053 (X'805') MQRC_Q_FULL. Therefore, it is up to the VB application to determine what to do next (e.g. put messages to another queue or exit). Or you can set the maximum queue depth to a higher number!!!
The bigger question is "why isn't the receiver application running?".
later
Roger Lacroix
Enterprise Architect
Capitalware Inc.
http://www.capitalware.biz
----------------------------------------
IBM Certified Specialist - MQSeries
IBM Certified Developer - MQSeries
IBM Certified Solutions Expert - MQSeries
----------------------------------------
P.S. In the future, please post the same question to only 1 forum. |
|
Back to top |
|
 |
|