Author |
Message
|
adder |
Posted: Thu Mar 30, 2006 11:00 am Post subject: How the MQ decide to put message to DLQ |
|
|
Apprentice
Joined: 06 Dec 2005 Posts: 43
|
I have question here, a remote queue created, but remote queue manager does not started. I put a message to remote queue, check the XMIT Q, current depth is 1, this message supposed to be put into DLQ, beacuse remoet queue manager does not start. but when I check XMIT Q after several minutes, curdepth still 1 and no message put into DLQ.
So my question is:
1. How the MQ decide to put message to DLQ
2. is there some parameter to control how long or how many time should MQ try to send message to remote queue manager.
thanks! |
|
Back to top |
|
 |
sandiksk |
Posted: Thu Mar 30, 2006 11:17 am Post subject: |
|
|
Centurion
Joined: 08 Jun 2005 Posts: 133
|
MQ tries to conect to the Remote Q.M for Shot retry interal and Long retry intervel in the channel properties. Then the channel go to Stopped state. I think at this time Mq puts it to the Dead Letter Queue.
You could look in the intercommunication manual for more details |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Mar 30, 2006 11:17 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
this message supposed to be put into DLQ, beacuse remoet queue manager does not start |
No...MQ is working exactly as designed.
MQ will put messages on the DLQ that are non-deliverable....but just because a remote queue manager isn't up doesn't make the message non-deliverable as such.
You could specify an expiration on the message.
What is your real requirement? In other words, why would you want a message to go to the DLQ? |
|
Back to top |
|
 |
sandiksk |
Posted: Thu Mar 30, 2006 11:20 am Post subject: |
|
|
Centurion
Joined: 08 Jun 2005 Posts: 133
|
Quote: |
I think at this time Mq puts it to the Dead Letter Queue. |
Sorry Guided you in wrong way. I wasnt sure about that. My bad. |
|
Back to top |
|
 |
adder |
Posted: Thu Mar 30, 2006 12:54 pm Post subject: |
|
|
Apprentice
Joined: 06 Dec 2005 Posts: 43
|
[quote="kevinf2349"]
Quote: |
this message supposed to be put into DLQ,
You could specify an expiration on the message.
What is your real requirement? In other words, why would you want a message to go to the DLQ? |
I just want to learn MQ mechanism, no special requirement.
Two question about expiration.
what it the unit for expiration, seconds ,miliseconds, or something else?
when I use MQ explorer send message, expiration of message is set to -1
what does "-1" mean?
thanks very much |
|
Back to top |
|
 |
wschutz |
Posted: Thu Mar 30, 2006 12:57 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
jeevan |
Posted: Fri Mar 31, 2006 3:39 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
specially read mqprimer and quick beginniger guide. these two books are very helpful for learning mq for a beginner. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Mar 31, 2006 6:00 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Oh the temptation! |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Mar 31, 2006 3:26 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
At least give him a reward point. It shows he was not immune to learning...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
adder |
Posted: Fri Mar 31, 2006 10:22 pm Post subject: |
|
|
Apprentice
Joined: 06 Dec 2005 Posts: 43
|
jeevan wrote: |
specially read mqprimer and quick beginniger guide. these two books are very helpful for learning mq for a beginner. |
where can I get book mqprimer. and I really appreciate every body's help, but I don't know how to give reward. |
|
Back to top |
|
 |
elvis_gn |
Posted: Sat Apr 01, 2006 12:01 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
|
Back to top |
|
 |
vennela |
Posted: Sat Apr 01, 2006 12:40 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
|