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 Discussion » Trigger question

Post new topic  Reply to topic
 Trigger question « View previous topic :: View next topic » 
Author Message
passthebeer
PostPosted: Wed Mar 26, 2003 1:03 pm    Post subject: Trigger question Reply with quote

Newbie

Joined: 26 Mar 2003
Posts: 2

Just starting to work with MQSeries...

We currently have some local queues which have their own trigger queues and process definitions associated with each one of them. If we create seperate trigger monitors (via MQServices) for the trigger queues, all is well and we get the results we are looking for.

However, my boss was wondering if we need to keep maintaining seperate trigger queues and trigger monitors, or if we could just use one trigger queue and one trigger monitor? My testing I did so far doesn't seem to like this solution. I am missing something?
Back to top
View user's profile Send private message
Keka
PostPosted: Wed Mar 26, 2003 1:46 pm    Post subject: Reply with quote

Voyager

Joined: 28 Dec 2002
Posts: 96

You can have one initiation queue and one triget monitor.. Specify the same initiation queues for all those queues that you want to trigger and it will work. There will be a disadvantage though, If one of the applications on one of those queues is slow then it will slow down all the other triggered applications as the triggerMonitor will not trigger another application until the last application finished processing..

Hope this helps..
keka
_________________
Keka
Back to top
View user's profile Send private message
clindsey
PostPosted: Wed Mar 26, 2003 2:05 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Just to add a litte more to what Keka said.....

Each queue that gets triggered also has a process definition. If your application that gets launched via this process definition reads the TMC structure, it can determine which queue to go process. In this case, you
can also share the same process definition. Otherwise you need a process definition for each queue so you can pass the queue name in the process definition.

Hope this helps,
Charlie
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 26, 2003 2:16 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, Keka's concern about one process sharing an initiation queue slowing down the other processes is only true if you are not starting each process as a separate task (either by using the '&' on unix or 'start' on Windows, or appropriate function on your OS). In this case, the trigger monitor only waits until the process has started, rather than waiting until it has finished.

However, a slightly different face on the same issue is how many things are impacted if the triggering system breaks? If you have multiple trigger monitors running, and processing multiple initiation queues, then each one can only impact a small set of things. If you have one trigger monitor, using one initation queue, and it shuts down for some reason, everything is halted. You may want multiple trigger monitors/queues for different systems or applications or task priority levels.
Back to top
View user's profile Send private message
passthebeer
PostPosted: Fri Mar 28, 2003 7:23 am    Post subject: Reply with quote

Newbie

Joined: 26 Mar 2003
Posts: 2

Thanks for the advice and information.

Its certainly sounds like we can use only one trigger monitor and one init queue if we so desire, but it is nice to hear what the possible impacts and trade offs are if we choose this direction.
Back to top
View user's profile Send private message
ping master
PostPosted: Fri Apr 04, 2003 7:01 am    Post subject: Reply with quote

Centurion

Joined: 20 Sep 2002
Posts: 116
Location: USA

has anyone ever set up trigger monitors to kick off an external program?
Back to top
View user's profile Send private message
bduncan
PostPosted: Fri Apr 04, 2003 11:40 am    Post subject: Reply with quote

Padawan

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

What exactly do you mean by an "external" program?
On a different machine than the 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
jlamond
PostPosted: Wed May 07, 2003 6:32 pm    Post subject: Reply with quote

Voyager

Joined: 28 May 2002
Posts: 94
Location: Paris

Don't forget that you can start multiple instance of the trigger monitor over the same initq. This is a better then detaching process like the use of & on unix or start on NT. runmqtrm does send trigger message to the dead letter queue when the lunched process ended with a none zero return code.
_________________
Jean-Marc
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Trigger question
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.