Author |
Message
|
jainvik7 |
Posted: Mon Mar 06, 2006 3:44 am Post subject: Messages to DLQ or an error MQRC_Q_FULL(2053) |
|
|
Apprentice
Joined: 19 Feb 2006 Posts: 38
|
Hi all,
I was just testing a scenario for the messages to go the DLQ. This is what I did. I have a qmgr QM1 and have a local queue TEST. I changed the maximum queue depth of this queue to 2 ( Just for testing purposes). Using the API exerciser I tried putting 3 messages in the queue. The first two puts were succcessful (as expected ) however, for the third message I got an error MQRC_Q_FULL(2053) (quite understandable), However, I was just a bit confused as because I had expected the 3rd message on the dead letter queue defined for the queue manager QM1 (SYSTEM.DEAD.LETTER.QUEUE). Is m,y understanding incorrect ? Please do comment. Waiting for your replies.
Thanks |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Mar 06, 2006 3:57 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
if the application is connected to mq and mq is able to return an error code to the application, then the dlq is not involved. your application knows that mq has not taken the messages, and it is up to the application to perform the proper actions.
the dlq is uses e.g. when the application has put a message on qm1 which should be delivered to qm2. now qm1 takes the message from the application and gives rc0 to the application. now sends the message to qm2, and qm2 tries to put the message to the target queue. but this queue is full. so what now? it is no longer possible to tell the application about this problem because that was a differend uow that is already completed. so mq has to handle this situation by itself, and now uses the dlq to store the message (if possible)
as a rule of thumb: whenever it is possible for mq to tell the application about an error, then the dlq is not used. _________________ Regards, Butcher |
|
Back to top |
|
 |
velocity |
Posted: Fri Nov 30, 2007 7:35 am Post subject: |
|
|
Centurion
Joined: 30 Nov 2007 Posts: 126
|
Depends whether the queue is local or remote
"The dead-letter queue is the queue to which messages are sent if they cannot be routed to their correct destination. Messages are put on this queue when they cannot be put on the destination queue for some reason (for example, because the queue does not exist, or because it is full). Dead-letter queues are also used at the sending end of a channel, for data-conversion errors."
WMQ Intercommunication Guide
-Enjoy |
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 30, 2007 8:03 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
This post is from 2006. Replying to it is probably redundant after all this time.....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Nov 30, 2007 12:01 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Recently, I've noticed a lot of posts to threads that I thought were 'done' and were very old.... |
|
Back to top |
|
 |
EddieA |
Posted: Fri Nov 30, 2007 12:39 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
And all by the same person.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Nov 30, 2007 12:41 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's been addressed...
 _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Nov 30, 2007 2:03 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
Back to top |
|
 |
Vitor |
Posted: Fri Nov 30, 2007 2:45 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It's been re-addressed, special delivery.
(I'm on the right....) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Dec 01, 2007 10:26 am Post subject: |
|
|
Guest
|
Perhaps jainvik7 just types very slowly. |
|
Back to top |
|
 |
tleichen |
Posted: Mon Dec 03, 2007 12:38 pm Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
bruce2359 wrote: |
Perhaps jainvik7 just types very slowly. |
u mean velocity...  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
|