|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trigger Monitors |
« View previous topic :: View next topic » |
Author |
Message
|
mqla |
Posted: Fri May 10, 2002 3:30 pm Post subject: |
|
|
Novice
Joined: 17 Apr 2002 Posts: 10
|
I have few questions about trigger monitors.
1) Is it required to create a trigger monitor for each and every queue which needs to trigger a process ?
2) Can we use one trigger monitor to monitor multiple queues ?
3) Do we need to create a trigger monitor even for the system queues (Ex. SYSTEM.DEAD.LETTER.QUEUE) ?
I appreciate your help.
Thanks |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri May 10, 2002 5:42 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
) Is it required to create a trigger monitor for each and every queue which needs to trigger a process ?
No. A trigger monitor watches an Initiation queue. A triggered queue names an Initiation queue in its definition. So QueueA, QueueB and QueueC can all be triggered queues, and all can specify Queue.Init as their initation queue. When a message lands on any or all of those 3 queues, the queue manager generates a trigger message and puts it to the init queue named in the queue definition. That trigger message has the name of the queue that caused the trigger (as well as the proccess), so when the one trigger monitor picks up the trigger message, it knows what to start.
2) Can we use one trigger monitor to monitor multiple queues ?
A trigger monitor generally watches just one init queue, and there is no reason you couldn't have lots of triggered queues all specifying one init queue. If you want to have multiple init queues, you could have multiple trigger monitors watching them, or use Support pak MA7K, which allows the trigger monitor to run as a service and watch multiple init queues at the same time.
3) Do we need to create a trigger monitor even for the system queues (Ex. SYSTEM.DEAD.LETTER.QUEUE) ?
See above answers.
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqla |
Posted: Mon May 13, 2002 7:50 am Post subject: Trigger monitor |
|
|
Novice
Joined: 17 Apr 2002 Posts: 10
|
Thanks for your reply. If I understood correctly, then you mean we should specify init queue name in trigger monitor def instead of actual queue name. Is that correct ? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon May 13, 2002 8:15 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Yes, when starting the trigger monitor, specify the init queue it should watch. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bduncan |
Posted: Mon May 13, 2002 9:41 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Peter,
Just to qualify what you said, there is one instance I can think of when you want multiple queues sending trigger messages to the same initiation queue: automatically starting channels. Normally you'd just set SYSTEM.CHANNEL.INITQ as the initiation queue for all your transmission queues. Of course, I've seen setups that had separate init q's for each of their channels, but this made administration a pain - not to mention we had to run a separate trigger monitor for each channel. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
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
|
|
|
|