|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
DLQ |
« View previous topic :: View next topic » |
Author |
Message
|
swann |
Posted: Wed Nov 30, 2011 7:59 pm Post subject: DLQ |
|
|
Acolyte
Joined: 21 Jun 2011 Posts: 50
|
Hi,
To my understanding we can handle the DLQ by writing a short script like
inputqm(QA) inputq(QA.LOCAL)
REASON(MQRC_FULL) action(fwd) fwdq(QA) fwdqm(QA) header(no)
Now if i see 100 messages piled up in dead letter queue and if there are 30 different reasons why the message are piled up,so i need to write something like this
REASON(MQRC_FULL) action(fwd) fwdq(QA) fwdqm(QA) header(no)
REASON(MQRC_PUT_INHIBITED) action(fwd) fwdq(QA) fwdqm(QA) header(no)
etc So on......Is there any other shortkut for it..And could you please tell me what does "HEADER(NO)" implies? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 30, 2011 9:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The header no in the fwd clause removes the DLQ header.
Read up in the info center and think about following rule
Code: |
DESTQ(MYAPP.THISOP.*) ACTION(RETRY) RETRYCOUNT(2) |
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Nov 30, 2011 10:57 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
instead of coding a rule for all reasons with the same action you could also code reason(*)
however, IMHO thats the wrong way to use the DLQ handler. if you have a problem and as a result of this messages are put to the DLQ, then fix the problem and after that run the DLQ handler. just only forwaring all messages to a different queue will not solve your problem, depending on the kind of problen the forward may fail too. _________________ Regards, Butcher |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|