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 » How many backout's on message before sent to dead letter Q?

Post new topic  Reply to topic
 How many backout's on message before sent to dead letter Q? « View previous topic :: View next topic » 
Author Message
gertvangaever
PostPosted: Mon Apr 28, 2003 3:26 am    Post subject: How many backout's on message before sent to dead letter Q? Reply with quote

Apprentice

Joined: 28 Apr 2003
Posts: 35
Location: Puurs, Belgium

Hello,

We're on a Windows/Intel environment here.
I'd like to know how many times the mqm tries to resend a message before it is sent to the dead.letter.queue?
Is it already after the first time that he gives up?
Or is it a parameter? If it is how can I see and change this parameter?

Tnx
Gert
Back to top
View user's profile Send private message
meekings
PostPosted: Mon Apr 28, 2003 4:20 am    Post subject: Reply with quote

Voyager

Joined: 28 Jun 2001
Posts: 86
Location: UK, South West

Your title refers to "backouts", in which case the answer is "forever" - delivery of the message to a "backout queue" needs to be done by the app (unless you're using JMS, I believe) - this is known as a "poison" message.
However, your text implies "undeliverability", in which case I think the answer is "once".
Which scenario are you referring to?
_________________
Brian Meekings
Information Design, Inc.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gertvangaever
PostPosted: Mon Apr 28, 2003 4:25 am    Post subject: Reply with quote

Apprentice

Joined: 28 Apr 2003
Posts: 35
Location: Puurs, Belgium

I think it's the second scenario!

By the way, I have been searching for an answer to this question for a while, and I have found som ething like this:
There seems to be a 'dead letter queue handler'. It works with parameters (rules table). One of these parameters is the 'retry' parameter.
I thought maybe this parameter implies the number of retries before it is put in the dead letter queue.
But where can I find these parameters? Is the dead letter queue handler automatically used, or is it an option, that has to be configured? How can I see if this is used? ....

Tnx
Gert
Back to top
View user's profile Send private message
meekings
PostPosted: Mon Apr 28, 2003 4:31 am    Post subject: Reply with quote

Voyager

Joined: 28 Jun 2001
Posts: 86
Location: UK, South West

See chapter 12 "The Websphere MQ dead letter queue handler" in the sysadmin guide. The rules are explained there (or you could write your own -I believe there's a sample in the tools\c\samples directory).
_________________
Brian Meekings
Information Design, Inc.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gertvangaever
PostPosted: Mon Apr 28, 2003 5:27 am    Post subject: Reply with quote

Apprentice

Joined: 28 Apr 2003
Posts: 35
Location: Puurs, Belgium

That was where I read about the dead letter queue handler.
Unfortunately, I don't quite understand it!

How do I know if the default dead letter queue handler is used (amqsdlq)?
If it is, where/how can I change the parameters?
(Is it in c:\program files\IBM\webspehere MQ\tools\c\samples\dlq, which means I have to recompile?)
Or is this in the rules table? If it is, where can I find this rules table? I can't find any information in the sysadmin guide regarding where I can find this rules table?!

Tnx
Gert
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Apr 28, 2003 5:47 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I haven't messed much with the dead-letter queue handler, but I believe it is up to you to create the rules file. I thought that the Sys Admin manual gave you some sample rules to follow.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
gertvangaever
PostPosted: Mon Apr 28, 2003 5:50 am    Post subject: Reply with quote

Apprentice

Joined: 28 Apr 2003
Posts: 35
Location: Puurs, Belgium

OK, but where can I find the rules table?
Maybe it is already created in our environment, I don't know!
Is it possible that the dead letter queue handler is not used?

Tnx
Back to top
View user's profile Send private message
meekings
PostPosted: Mon Apr 28, 2003 6:13 am    Post subject: Reply with quote

Voyager

Joined: 28 Jun 2001
Posts: 86
Location: UK, South West

The dead letter queue used will be the one associated with the queue manager. Use runmqsc with "DISPLAY QMGR" to find out what it is.
You have to create the rules table with your favourite editor, and specify it as a parameter to the dlq handler when you start it up.
As Ron said, there's a sample to get you going in the manual.
_________________
Brian Meekings
Information Design, Inc.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gertvangaever
PostPosted: Mon Apr 28, 2003 10:29 pm    Post subject: Reply with quote

Apprentice

Joined: 28 Apr 2003
Posts: 35
Location: Puurs, Belgium

I'm sorry but I still don't understand.
The only argument of a queue manager is 'DEADQ', which shows the queue manager used as the dead queue manager. It says nothing about a rules table!
I still don't know how & which rules table is used? I don't even know whether a rules table is in fact used!
Is it obligatory to use a rules table, or is it possible to work without one?

Please can you explain!??µ

Tnx!
Back to top
View user's profile Send private message
meekings
PostPosted: Tue Apr 29, 2003 3:50 am    Post subject: Reply with quote

Voyager

Joined: 28 Jun 2001
Posts: 86
Location: UK, South West

Every queue manager has its own dead letter queue - or should have. Sounds like yours doesn't - the DEADQ parameter should have a value associated with it, usually SYSTEM.DEAD.LETTER.QUEUE. You can fix this using runmqsc with "ALTER QMGR DEADQ(SYSTEM.DEAD.LETTER.QUEUE)".
You have to construct a rules table yourself, and provide it as input to the runmqdlq command. The use of this, and the rules, are quite clearly explained in the sysadmin manual - have you read the chapter devoted to this?
_________________
Brian Meekings
Information Design, Inc.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mrlinux
PostPosted: Tue Apr 29, 2003 9:46 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Iam not sure but it seems that you think the dead letter handlers put's messages in the deadq ??? This is not correct, the dead letter handler is for processing the messages out of the deadq. Sorry If I misinterpted your postings.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
gertvangaever
PostPosted: Tue Apr 29, 2003 9:57 pm    Post subject: Reply with quote

Apprentice

Joined: 28 Apr 2003
Posts: 35
Location: Puurs, Belgium

Aha!! Ok
That puts a whole other perspective to it...
It seems I misinterpreted some things.
I have done some more research, and my question is solved now.

Tnx Guys!!

Gert
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 » How many backout's on message before sent to dead letter Q?
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.