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 trigger monitor should be used

Post new topic  Reply to topic
 How many trigger monitor should be used « View previous topic :: View next topic » 
Author Message
wongpcl
PostPosted: Fri Dec 06, 2002 10:34 pm    Post subject: How many trigger monitor should be used Reply with quote

Novice

Joined: 09 Jan 2002
Posts: 23

We're planning to use MQ Trigger (Trigger First) to invoke an application to get messages from the triggered queue. We found out the following from the MQ Application Guide.

The trigger monitor will not look to see if there is another message on the
initiation queue until the completion of the application it has just started.

If the application has a lot of processing to do, this may mean that the trigger monitor cannot keep up with the number of trigger messages arriving.

There are two options:
- Have more trigger monitors running
- Run the started applications in the background

The Application Guide suggested to use the 2nd option. But we don't understand the following :

1. Why trigger monitor will trigger the next application without the previous application complete by running the started application in background?

2. How to run the started application in the background on OS/390?

Please advise.

Thanks and regards,
Back to top
View user's profile Send private message
bduncan
PostPosted: Sat Dec 07, 2002 1:15 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

I can answer your first question.
Imagine that YOU are a trigger monitor. You sit at the keyboard, and I give you a post-it note (MQ message) which you know you're supposed to start an application in order to process. Now you are at a command prompt on your machine, so when you type the name of the application, it starts, and your command prompt is gone. There is no way you can launch any more programs until the command prompt is returned to you, and that won't happen until you exit the program. That is because you started the application in the foreground. If you start an application in the background (on Unix you do this by appending '&' to the end of your command), the application will start, but the command prompt will be immediately returned to you, giving you the ability to launch additional applications. So this way, if I come along with another post-it note before the first one is processed, you can launch additional copies of the application to process it.
I've worked with environments where there were dozens of triggered queues on the same queue manager, with high message throughput, and all the triggering was handled just fine by a single trigger monitor...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How many trigger monitor should be used
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.