ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Dead letter queue

Post new topic  Reply to topic
 Dead letter queue « View previous topic :: View next topic » 
Author Message
kailashbawane
PostPosted: Thu May 07, 2009 11:52 am    Post subject: Dead letter queue Reply with quote

Acolyte

Joined: 13 Jun 2007
Posts: 51
Location: Pune,INDIA

Hi all,

I am confused on dead letter queue understanding.

If the message not delevered then it comes into dead letter queue, Butif i delete the dead letter queue then where will be my message stay, How can i pull/see the message.


can anyone help me out for this.

Thanks
_________________
ITO- MQ ISE.
" Slow n steady always win the race. "
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Vitor
PostPosted: Thu May 07, 2009 12:00 pm    Post subject: Re: Dead letter queue Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

kailashbawane wrote:
Butif i delete the dead letter queue then where will be my message stay


So don't delete the queue!

If what you mean is "where will my message go if it's undeliverable and there's no dead letter queue", the answer is it won't leave the transmit queue it's sitting on and the channel that services that queue will stop.

Unless the message is non persistent in which case it will disapear in a puff of data.

kailashbawane wrote:
How can i pull/see the message.


Same as you would any other message. All the usual methods will work, and most of the usual tools will decode the DLH for you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kailashbawane
PostPosted: Thu May 07, 2009 12:28 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2007
Posts: 51
Location: Pune,INDIA

What happenes if i delete the Dead letter queue?
_________________
ITO- MQ ISE.
" Slow n steady always win the race. "
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
mqjeff
PostPosted: Thu May 07, 2009 12:43 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Messages that otherwise would go to the DLQ don't.

In the case of messages coming over MQI channels, the messages stay on the remote XMITQ.

In the case of messages originating in applications connected to the qmgr with the missing DLQ, they get an CC of 3 and a non-zero RC, indicating that the PUT has failed and the message is not accepted by MQ.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu May 07, 2009 1:24 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Quote:
If the message not delevered...

The DeadLetterQueue is a queue named in the queue manager object. Mostly, it is used for messages that have arrived from network-connected qmgrs, and that it (the qmgr) cannot deliver to the queue named in the transmission queue header.

Common reasons why a message cannot be delivered to the destination queue: destination queue doesn't exist, queue is put-inhibited, message is too big for queue. If this attempt fails, the next attempt will be to put the message into the DLQ. If the message cannot be delivere to the DLQ (for the same reasons above), the channel stops; and the message remains in the transmission queue.

As noted previously, if the channel is NPMSPEED(FAST) and the message is non-persistent, you have directed the qmgr to discard the message.

DLQs are mostly used in distributed queuing.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
exerk
PostPosted: Fri May 08, 2009 12:01 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Also, if you have failed triggered applications, i.e. in cases where the queue manager would place MQFB_APPL_CANNOT_BE_STARTED messages, or undeliverable COA/COD messages, lack of a DLQ may well cause you problems.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Fri May 08, 2009 2:05 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

also, when the local mca is not able to send a message over the channel, e.g. because its length is bigger then maxmsglen of the channel, it is put to the DLQ too. one of the rare situations where a local process uses the local DLQ ......
_________________
Regards, Butcher
Back to top
View user's profile Send private message
sumit
PostPosted: Fri May 08, 2009 7:37 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

kailashbawane wrote:
What happenes if i delete the Dead letter queue?


But, why do you want to delete dlq? Is there a project requirement (which I guess not) or you just want to understand the concept?
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Dead letter queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.