|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Automatic running DLQ in AIX system |
« View previous topic :: View next topic » |
Author |
Message
|
jeevan |
Posted: Fri Jan 27, 2006 11:41 am Post subject: Automatic running DLQ in AIX system |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Can we run DLQ automatically? |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Jan 27, 2006 11:47 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You might want to look into have the DLQ monitored with a trigger. When a message arrives, you can start a program (runmqdlq) up to process the messages. |
|
Back to top |
|
 |
jeevan |
Posted: Fri Jan 27, 2006 12:04 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
|
Back to top |
|
 |
wschutz |
Posted: Fri Jan 27, 2006 12:07 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
bower5932 wrote: |
You might want to look into have the DLQ monitored with a trigger. When a message arrives, you can start a program (runmqdlq) up to process the messages. |
Can you start runmqdlq directly (getting a TM as a paramter), or must you start a script which, in turn, starts runmqdlq? _________________ -wayne |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jan 28, 2006 10:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
wschutz wrote: |
bower5932 wrote: |
You might want to look into have the DLQ monitored with a trigger. When a message arrives, you can start a program (runmqdlq) up to process the messages. |
Can you start runmqdlq directly (getting a TM as a paramter), or must you start a script which, in turn, starts runmqdlq? |
It really depends on what you have in mind. If you do not supply an input file (for your rules) you will need to pipe the input or run interactively. Queue and qmgr given on command line will superseed any defaults taken from the rules input.
You can as well keep the dlq handler running the rules instead of terminating on exit. (WAIT=YES)
It all depends on what you are trying to achieve with the DLQ handler.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
wschutz |
Posted: Sun Jan 29, 2006 5:20 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
FJ-- Yes,but runmqdlq, if triggered directly, will get a trigger message as a parameter ...
thus, it will see:
"TM ....QNAME etc" as a parm. (where ... = version # in hex)
In this case, runmqdlq will take "TM" as the queue name and x'01" (version) as the qmgrname.
So you need to have a wrapper script to extract the qname and qmgrname and pass that to runmqldq, or, as you say, pass "null" parameters. _________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Jan 29, 2006 5:43 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
And, of course, if you trigger runmqdlq, and it decides to quit with a bad exit code (perhaps it can't process your rules file), then the trigger monitor will ...
put the trigger message on the DLQ. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|