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 » Trigger action at the client side

Post new topic  Reply to topic
 Trigger action at the client side « View previous topic :: View next topic » 
Author Message
pintrader
PostPosted: Wed Sep 10, 2014 4:53 am    Post subject: Trigger action at the client side Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 10, 2014 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulClarke
PostPosted: Wed Sep 10, 2014 7:01 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
pintrader
PostPosted: Fri Sep 12, 2014 1:02 am    Post subject: Reply with quote

Disciple

Joined: 22 Jan 2014
Posts: 164

thank all ,
manage to test it out and get it to work.
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 » General IBM MQ Support » Trigger action at the client side
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.