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 » IBM MQ API Support » How to create trigger monitor

Post new topic  Reply to topic
 How to create trigger monitor « View previous topic :: View next topic » 
Author Message
reddy_kal
PostPosted: Mon Nov 04, 2002 11:07 am    Post subject: How to create trigger monitor Reply with quote

Acolyte

Joined: 04 Nov 2002
Posts: 73

Can anyone guide me how to setup trigger monitor.

Thanks in advance
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Mon Nov 04, 2002 10:34 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

Hi,

I assume that your question is "how to configure triggering", since the trigger monitor itself doesn't require any setup. Here we go:

1) define an application queue (a message sent to this queue will cause the trigger mechanism to fire up):

Code:

DEFINE QLOCAL(TRIG_Q) +
   TRIGGER +
   TRIGTYPE(FIRST) +
   PROCESS(TRIG_PROC) +
   INITQ(INIT_Q)


2) define a process (an MQ object that holds the information about the triggered program):

Code:

DEFINE PROCESS(TRIG_PROC) +
   APPLICID('your/program/path/program.exe')


3) define an initiation queue

Code:

DEFINE QLOCAL(INIT_Q)


4) start the trigger monitor (point it to you initiation queue):

runmqtrm [-m QMgrName] -q INIT_Q

That's it!
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » How to create trigger monitor
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.