|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trigger action at the client side |
« View previous topic :: View next topic » |
Author |
Message
|
pintrader |
Posted: Wed Sep 10, 2014 4:53 am Post subject: Trigger action at the client side |
|
|
Disciple
Joined: 22 Jan 2014 Posts: 164
|
hi
A question on triggers, hope you can help. I have played with triggers and trigger monitors on the MQ server according to examples in the docs, and it works fine as my program/script is also on the same machine that houses the QMgr. Now, how can I configure it such that any messages put to my queue will execute a program/script that is not stored at the MQ server machine itself.
that is, CM1 is a client machine, and my trigger config is done at QM1 machine where the MQ server resides. How does the QMgr "execute" a script/program that is stored in CM1?
thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 10, 2014 4:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can use runmqtmc instead of runmqtrm.
Or you can use MA7K if your client machine is on windows. |
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Sep 10, 2014 7:01 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
A trigger monitor is essentially just an MQI program. Therefore you can run that too as a client. If it runs as a client then you can just start the process locally since the trigger monitor is running on the 'right' machine. Your alternative is to run the trigger monitor locally and in the process object specify a command which starts a program on the remote machine - for example something like rexec.
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
pintrader |
Posted: Fri Sep 12, 2014 1:02 am Post subject: |
|
|
Disciple
Joined: 22 Jan 2014 Posts: 164
|
thank all ,
manage to test it out and get it to work. |
|
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
|
|
|
|