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 » Define Process

Post new topic  Reply to topic
 Define Process « View previous topic :: View next topic » 
Author Message
Jauretche
PostPosted: Fri Oct 06, 2006 7:26 am    Post subject: Define Process Reply with quote

Newbie

Joined: 06 Oct 2006
Posts: 2

Hello, I need to define a Process (to trigger) that executes a .EXE whenever a message arrives at a tail.
Somebody can say to me since this becomes? or to pass some Link to me that explains it?

thank you very much
Jauretche
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Oct 06, 2006 8:20 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Where have you looked?

Have you looked in MQSeries MQSC Command reference?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Oct 06, 2006 9:22 am    Post subject: Reply with quote

Guest




Briefly: here's the scenario: the application queue where the message arrives needs to have several attributes set, namely:
PROCESS(yourprocessname)
TRIGGER
TRIGTYPE(FIRST or EVERY or DEPTH)
INITQ(yourinitiationqueue)

other objects needed:
DEFINE PROCESS(yourprocessname)
APPLICID(path/programname.exe)
APPLTYPE(windows)

DEFINE QL(yourinitiationqueue)

you need to start a long-running trigger monitor. MQ provides runmqtrm
runmqtrm -m qmgrname -q yourinitiationqueue

Read about triggering in the system admin guide, in the Application Programming Guide.

When an application message arrives in a triggered queue, the qmgr recognizes the trigger has fired, looks in the process to identify the program to start, places a trigger message (with program to start and application queue name) in the initiation queue. The trigger monitor app starts the program and tells it what queue caused the trigger to fire.
Back to top
Jauretche
PostPosted: Fri Oct 06, 2006 12:16 pm    Post subject: Reply with quote

Newbie

Joined: 06 Oct 2006
Posts: 2

Trank you Bruce,
I am going to prove what you say to me, and any thing I comment to you. Greetings and pardon by my English that is quite precarious.

Gracias y saludos
Jauretche
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Oct 06, 2006 1:32 pm    Post subject: Reply with quote

Guest




...and as kevinf2349 suggested: read the MQSeries MQSC Command reference for details on the objects and attributes.

Donde es?
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Define Process
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.