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 » who writes in to Dead Letter Queue ?

Post new topic  Reply to topic
 who writes in to Dead Letter Queue ? « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Tue Oct 24, 2006 5:28 am    Post subject: who writes in to Dead Letter Queue ? Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

If I use AMQSPUT (or similar)
and a Local queue manager,
the messages with

*) too large size
*) destination queue name problems
*) destination queue with "disabled" PUT

do NOT go into the Dead Letter Queue
but the call just ends with a RC and CC.

Does it mean only the MCA of the receiver side of a channel
does write/put messages into the DLQ ?

Thanks.
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Tue Oct 24, 2006 5:37 am    Post subject: Reply with quote

Grand High Poobah

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

The DLQ is for messages which (for whatever reason) can't be delivered to their final destination queue. Hence only messages which have been accepted for delivery (i.e. put successfully) will go there.

I don't think it's only the receiver MCA that does this. Consider the situation where a sender MCA is unable to process a message, either because message size exceeds the channel limit or a channel conversion can't be honoured. In these cases the message will end up on the sender DLQ.

Likewise with a multihop. If there's no remote queue to the final destination (broken chain for example) it will end up on a DLQ before the break. I'd doubt the receiver MCA does that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Oct 24, 2006 5:42 am    Post subject: Reply with quote

Grand High Poobah

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

P.S. I have seen it done where an application program, on a failing put, wrote the failed message to a DLQ having first hand rolled a DLQ header onto the message. I viewed this with some suspicion and remain mostly unconvinced of the wisdom, but it was to "a" DLQ not "the" DLQ i.e. the one the queue manager was using. The principle was that the standard dead letter handler was used to process the messages using rules.

It seemed to work, given that the errors that ended up there were mostly 2053. I invite comments from the assembled wisdom.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sebastia
PostPosted: Tue Oct 24, 2006 6:49 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks, Vitor
You have clever words also - they were
"ACCEPTED (MESSAGE) FOR DELIVERY" ....

( at least for me .... )

Keep it up !
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Tue Oct 24, 2006 7:27 am    Post subject: Reply with quote

Grand High Poobah

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

You're quite welcome!

I'll just mention for the record and the benefit of future searchers that of course a non-persistant message that has been accepted for delivery does not necessarially end up anywhere.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jeevan
PostPosted: Wed Oct 25, 2006 5:55 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Vitor wrote
Quote:


I'll just mention for the record and the benefit of future searchers that of course a non-persistant message that has been accepted for delivery does not necessarially end up anywhere.....



What do you mean by 'doe not necessarily end up anywhere ' ? Does it mean they do in some occassion and do not in another occassions? Or they are never delivered to DLQ?

thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Oct 25, 2006 5:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Non-persistant messages can get thrown away completely at a number of points, including when they could not be delivered over a channel.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 25, 2006 6:03 am    Post subject: Reply with quote

Grand High Poobah

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

jeevan wrote:

What do you mean by 'doe not necessarily end up anywhere ' ? Does it mean they do in some occassion and do not in another occassions? Or they are never delivered to DLQ?

thanks


I meant that under certain circumstances an undeliverable non-persistent message can be lost in a way that an undeliverable persistent message cannot be.

Think about it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » who writes in to 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.